-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCargo.toml
More file actions
113 lines (105 loc) · 3.3 KB
/
Cargo.toml
File metadata and controls
113 lines (105 loc) · 3.3 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[workspace]
members = [
"api_parser",
"cli",
"deadlock",
"fs_util",
"lib",
"logtee/rust",
"macros",
"metrics_ext",
"net",
"scoped_task",
"service",
"state_monitor",
"tracing_fmt",
"utils/benchtool",
"utils/bindgen",
"utils/btdht",
"utils/protocol-analyzer",
"utils/repogen",
"utils/repo-tool",
"utils/shadow-runner",
"utils/stress-test",
"utils/stun-server-list",
"utils/swarm",
"vfs",
]
resolver = "3"
[workspace.package]
version = "0.10.0"
authors = ["Adam Cigánek <adam@equalit.ie>", "Peter Jankuliak <peter@equalit.ie>"]
repository = "https://github.com/equalitie/ouisync"
license = "MPL-2.0"
edition = "2024"
rust-version = "1.91.0"
[workspace.dependencies]
anyhow = "1.0.100"
assert_matches = "1.5"
async-recursion = "1.1.1"
async-trait = "0.1.89"
btdht = { git = "https://github.com/equalitie/btdht.git", rev = "ad423e21faeb6a4549397f8c6050cb8e4470b77e" }
bytes = "1.11.0"
camino = "1.2.1"
chrono = { version = "0.4.42", default-features = false, features = ["clock"] }
clap = { version = "4.5.53", features = ["derive"] }
criterion = "0.8.1"
ctrlc = { version = "3.4.5", features = ["termination"] }
futures-util = { version = "0.3.31", default-features = false }
heck = "0.5.0"
hex = "0.4.3"
hex_fmt = "0.3.0"
hmac = { version = "0.12.1", default-features = false }
indexmap = "2.12.1"
libc = "0.2.174"
metrics = "0.24.3"
metrics-exporter-prometheus = { version = "0.18.1", default-features = false }
metrics-util = { version = "0.20.1", default-features = false }
num_enum = { version = "0.7.5", default-features = false }
pem = "3.0.6"
pin-project-lite = "0.2.16"
proptest = "1.9.0"
rand = "0.8.5"
rcgen = "0.14.5"
reqwest = { version = "0.12.25", default-features = false }
rmp = "0.8.14"
rmp-serde = "1.3.0"
rustls = { version = "0.23.35", default-features = false }
serde = { version = "1.0", features = ["derive", "rc"] }
serde_bytes = "0.11.19"
serde_json = "1.0.145"
sha2 = { version = "0.10.8", default-features = false }
similar-asserts = "1.7.0"
slab = "0.4.11"
sqlx = { version = "0.8.4", default-features = false, features = ["derive", "runtime-tokio", "sqlite"] }
syn = { version = "2.0.111", default-features = false }
tempfile = "3.23.0"
test-strategy = "0.4.3"
thiserror = "2.0.17"
tokio = { version = "1.48.0", default-features = false }
tokio-rustls = { version = "0.26.4", default-features = false }
tokio-stream = { version = "0.1.17", default-features = false }
tokio-util = "0.7.17"
tracing = { version = "0.1.43" }
tracing-subscriber = { version = "0.3.22" }
webpki-roots = "1.0.4"
winapi = { version = "0.3.9" }
[profile.bench]
# Enable debug info so we can profile the benches
debug = 1
# Profile for performance profiling
[profile.perf]
inherits = "release"
debug = 1
# Build dependencies with optimizations even in dev mode
[profile.dev.package."*"]
opt-level = 3
[patch.crates-io]
# The upstream has outdated dependency on `bindgen` which conflicts with some of our other
# dependencies, and xpc-connection has a type mismatch on newer toolchains. Using this fork until
# the upstream updates.
xpc-connection = { git = "https://github.com/madadam/xpc-connection-rs" }
xpc-connection-sys = { git = "https://github.com/madadam/xpc-connection-rs" }
[workspace.lints.clippy]
large_enum_variant = "allow"
result_large_err = "allow"