-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
80 lines (73 loc) · 1.85 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
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
[workspace]
resolver = "2"
members = [
"qbase",
"qrecovery",
"qconnection",
"qcongestion",
"qudp",
"qunreliable",
"gm-quic",
"h3-shim",
]
default-members = [
"qbase",
"qrecovery",
"qconnection",
"qcongestion",
"qunreliable",
"gm-quic",
]
[workspace.package]
version = "0.0.1"
edition = "2021"
readme = "README.md"
repository = "https://github.com/genmeta/gm-quic"
license = "GPL-3.0"
keywords = ["async", "quic", "http3"]
categories = ["network-programming", "asynchronous"]
[workspace.dependencies]
bytes = "1"
cfg-if = "1"
dashmap = "6"
deref-derive = "0.1"
derive_builder = "0.20"
enum_dispatch = "0.3"
futures = "0.3"
getset = "0.1"
log = "0.4"
nom = "7"
rand = "0.8"
rustls = { version = "0.23", default-features = false, features = ["std"] }
socket2 = "0.5"
thiserror = "2"
tokio = { version = "1" }
# h3 for h3-shim, windows-sys and libc for qudp
# they are not the default members of the workspace
# h3 = "?"
# windows-sys = "?"
# libc = "0.2"
# dev-dependencies, for examples
clap = { version = "4", features = ["derive"] }
env_logger = "0.11"
http = "1"
rustls-native-certs = "0.8"
tracing = "0.1"
tracing-subscriber = "0.3"
url = "2"
# members
qbase = { path = "./qbase", version = "0.0.1" }
qrecovery = { path = "./qrecovery", version = "0.0.1" }
qconnection = { path = "./qconnection", version = "0.0.1" }
qcongestion = { path = "./qcongestion", version = "0.0.1" }
qudp = { path = "./qudp", version = "0.0.1" }
qunreliable = { path = "./qunreliable", version = "0.0.1" }
gm-quic = { path = "./gm-quic", version = "0.0.1" }
[profile.bench]
debug = true
[profile.release]
opt-level = 'z' # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*