-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
53 lines (49 loc) · 1.22 KB
/
Cargo.toml
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
[package]
name = "review-protocol"
version = "0.8.1"
edition = "2021"
[features]
client = [
"async-trait",
"bincode",
"oinq",
"quinn",
"rustls",
"rustls-pemfile",
"semver",
"thiserror",
]
server = [
"async-trait",
"anyhow",
"bincode",
"oinq",
"quinn",
"semver",
"thiserror",
]
[dependencies]
anyhow = { version = "1", optional = true }
async-trait = { version = "0.1", optional = true }
bincode = { version = "1", optional = true }
ipnet = { version = "2", features = ["serde"] }
num_enum = { version = "0.7" }
oinq = { git = "https://github.com/petabi/oinq.git", tag = "0.13.0", optional = true }
quinn = { version = "0.11", optional = true }
rustls = { version = "0.23", default-features = false, optional = true }
rustls-pemfile = { version = "2", optional = true }
semver = { version = "1", optional = true }
serde = { version = "1", features = ["derive"] }
serde_repr = "0.1.19"
thiserror = { version = "1", optional = true }
[dev-dependencies]
quinn = { version = "0.11", features = ["ring"] }
rcgen = "0.13"
rustls = { version = "0.23", default-features = false, features = [
"ring",
"std",
] }
tokio = { version = "1", features = ["macros", "rt"] }
[lints.clippy]
pedantic = "warn"
unwrap_used = "warn"