-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (49 loc) · 1.93 KB
/
Copy pathCargo.toml
File metadata and controls
52 lines (49 loc) · 1.93 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
46
47
48
49
50
51
52
[package]
name = "fabric"
version = "0.2.6"
edition = "2024"
description = "Local socket facade for iroh-backed cross-machine transports"
repository = "https://github.com/compoundingtech/fabric"
[dependencies]
anyhow = "1"
blake3 = "1"
clap = { version = "4", features = ["derive"] }
crossterm = "0.29.0"
iroh = "1.0.2"
libc = "0.2"
notify = "8"
netwatch = "0.19.1"
n0-watcher = "1.0.0"
portable-pty = "0.9.0"
rand = "0.10.2"
serde = { version = "1", features = ["derive"] }
# `fabric update` downloads and verifies a release artifact. reqwest, rustls and
# sha2 are already compiled as transitive dependencies of iroh, so naming them
# here costs no new crates. The feature pin matters: reqwest's defaults would
# pull aws-lc-rs in alongside the ring provider iroh already uses.
reqwest = { version = "0.13", default-features = false, features = ["rustls-no-provider", "stream"] }
rustls = { version = "0.23", default-features = false, features = ["ring"] }
sha2 = "0.11"
# tar and flate2 ARE new. The updater is the recovery path, so it should depend
# on as few working system tools as it can: `tar -xzf` is one more thing that has
# to be present and correct on a machine that may already be unwell.
tar = "0.4"
flate2 = "1"
serde_json = "1"
tokio = { version = "1", features = ["full"] }
tokio-util = "0.7"
toml = "0.9"
toml_edit = "0.25"
tracing = "0.1"
tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
time = { version = "0.3", default-features = false, features = ["std", "formatting"] }
rcgen = { version = "0.14.9", default-features = false, features = ["pem", "ring", "x509-parser"] }
[patch.crates-io]
# netdev 0.45.0 performs an unbounded synchronous CoreWLAN XPC request while
# iroh is binding its endpoint on macOS. Keep the upstream crate intact except
# for a bounded, cached fallback around that optional transmit-rate metadata.
netdev = { path = "vendor/netdev" }
[dev-dependencies]
proptest = "1"
tempfile = "3"