Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (38 loc) · 1.49 KB
/
Copy pathCargo.toml
File metadata and controls
45 lines (38 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "roc_host"
version = "0.24.0"
authors = ["The Roc Contributors"]
edition = "2021"
rust-version = "1.97"
license = "UPL-1.0"
repository = "https://github.com/roc-lang/basic-cli"
[lib]
name = "host"
crate-type = ["staticlib"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(no_roc_std_helpers)"] }
[dependencies]
crossterm = "=0.29.0"
getrandom = "=0.2.16"
libc = "=0.2.180"
tempfile = "=3.23.0"
same-file = "=1.0.6"
process-wrap = { version = "=10.0.0", features = ["tokio1"] }
socket2 = "=0.5.10"
libsqlite3-sys = { version = "=0.33.0", features = ["bundled"] }
# HTTP stack (ported from the old roc_http crate). `ring` is the rustls crypto
# backend, and WebPKI roots keep the static host self-contained for Roc linking.
hyper = { version = "=1.6.0", default-features = false, features = ["http1", "client"] }
hyper-util = { version = "=0.1.12", default-features = false, features = ["client", "client-legacy", "http1", "tokio"] }
hyper-rustls = { version = "=0.27.6", default-features = false, features = ["http1", "tls12", "webpki-tokio", "ring"] }
http-body-util = "=0.1.3"
tokio = { version = "=1.45.0", default-features = false, features = ["rt", "net", "time", "process", "sync", "io-util", "macros"] }
bytes = "=1.12.1"
[target.'cfg(not(target_os = "macos"))'.dependencies]
sys-locale = "=0.3.2"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "=0.59.0", features = ["Win32_Networking_WinSock"] }
[profile.release]
lto = true
strip = "debuginfo"
panic = "abort"