forked from compio-rs/compio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
86 lines (73 loc) · 2.51 KB
/
Cargo.toml
File metadata and controls
86 lines (73 loc) · 2.51 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
[package]
name = "compio-quic"
version = "0.5.0"
description = "QUIC for compio"
categories = ["asynchronous", "network-programming"]
keywords = ["async", "net", "quic"]
edition = { workspace = true }
authors = { workspace = true }
readme = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
# Workspace dependencies
compio-io = { workspace = true }
compio-buf = { workspace = true, features = ["bytes"] }
compio-log = { workspace = true }
compio-net = { workspace = true }
compio-runtime = { workspace = true, features = ["time"] }
quinn-proto = { version = "0.11.10", default-features = false }
rustls = { workspace = true }
rustls-platform-verifier = { version = "0.6.0", optional = true }
rustls-native-certs = { workspace = true, optional = true }
webpki-roots = { version = "1.0.0", optional = true }
h3 = { version = "0.0.8", optional = true }
h3-datagram = { version = "0.0.2", optional = true }
# Utils
flume = { workspace = true, default-features = false, features = ["async"] }
futures-util = { workspace = true }
thiserror = { workspace = true }
rustc-hash = "2.0.0"
# Windows specific dependencies
[target.'cfg(windows)'.dependencies]
windows-sys = { workspace = true, features = ["Win32_Networking_WinSock"] }
[target.'cfg(unix)'.dependencies]
libc = { workspace = true }
[build-dependencies]
cfg_aliases = { workspace = true }
[dev-dependencies]
compio-dispatcher = { workspace = true }
compio-driver = { workspace = true }
compio-fs = { workspace = true }
compio-macros = { workspace = true }
compio-runtime = { workspace = true, features = ["criterion"] }
criterion = { workspace = true, features = ["async_tokio"] }
http = "1.1.0"
quinn = "0.11.6"
rand = { workspace = true }
rcgen = "0.14.1"
socket2 = { workspace = true, features = ["all"] }
tokio = { workspace = true, features = ["macros", "rt"] }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
[features]
default = ["ring"]
io-compat = ["futures-util/io"]
platform-verifier = ["dep:rustls-platform-verifier"]
native-certs = ["dep:rustls-native-certs"]
webpki-roots = ["dep:webpki-roots"]
h3 = ["dep:h3", "dep:h3-datagram"]
ring = ["quinn-proto/rustls-ring"]
aws-lc-rs = ["quinn-proto/rustls-aws-lc-rs"]
aws-lc-rs-fips = ["aws-lc-rs", "quinn-proto/rustls-aws-lc-rs-fips"]
[[example]]
name = "http3-client"
required-features = ["h3"]
[[example]]
name = "http3-server"
required-features = ["h3"]
[[bench]]
name = "quic"
harness = false