Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
156 lines (148 loc) · 4 KB
/
Copy pathCargo.toml
File metadata and controls
156 lines (148 loc) · 4 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[workspace]
resolver = "2"
members = [
"client",
"codegen",
"http",
"io",
"postgres",
"postgres-codegen",
"router",
"server",
"service",
"test",
"tls",
"unsafe_collection",
"web",
"http-body",
"http-encoding",
"http-file",
"http-multipart",
"http-rate",
"http-grpc",
"http-ws",
"tokio-uring"
]
[workspace.package]
rust-version = "1.98"
[patch.crates-io]
xitca-client = { path = "./client" }
xitca-codegen = { path = "./codegen" }
xitca-http = { path = "./http" }
xitca-io = { path = "./io" }
xitca-postgres = { path = "./postgres" }
xitca-postgres-codegen = { path = "./postgres-codegen" }
xitca-router = { path = "./router" }
xitca-server = { path = "./server" }
xitca-service = { path = "./service" }
xitca-tls = { path = "./tls" }
xitca-unsafe-collection = { path = "./unsafe_collection" }
xitca-web = { path = "./web" }
http-body-alt = { path = "./http-body" }
http-grpc-rs = { path = "./http-grpc" }
http-encoding = { path = "./http-encoding" }
http-file = { path = "http-file" }
http-multipart = { path = "./http-multipart" }
http-rate = { path = "./http-rate" }
http-ws = { path = "./http-ws" }
tokio-uring-xitca = { path = "./tokio-uring" }
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
# disable useless and/or broken lints
[workspace.lints.rust]
unreachable_patterns = "allow"
[workspace.lints.clippy]
await_holding_lock = "allow"
needless_return = "allow"
new_without_default = "allow"
len_without_is_empty = "allow"
[workspace.dependencies]
all_asserts = "2.2.0"
assert_matches = "1.5"
async-stream = "0.3"
bb8 = "0.9.0"
brotli2 = "0.3.2"
bytes = "1.11.1"
cookie = "0.18"
criterion = "0.8"
crossbeam = "0.8.0"
fallible-iterator = "0.2"
flate2 = "1.0.13"
futures = { version = "0.3", default-features = false }
futures-core = { version = "0.3.32", default-features = false }
futures-sink = { version = "0.3.17", default-features = false }
futures-util = { version = "0.3.25", default-features = false }
getrandom = "0.4.3"
h2 = "0.4"
h3 = "0.0.8"
h3-quinn = "0.0.10"
http = "1.4.0"
http-body = "1"
httparse = "1.10.1"
iai = "0.1.1"
io-uring = "0.7.11"
libc = "0.2.178"
lru = { version = "0.16", default-features = false }
matchit = "0.9.1"
memchr = "2.5.0"
native_tls_crate = { package = "native-tls", version = "0.2.7", features = ["alpn"] }
nix = "0.31"
openssl = "0.10"
percent-encoding = "2.3.2"
pin-project-lite = "0.2.17"
postgres-derive = "0.4"
postgres-protocol = "0.6.5"
postgres-types = "0.2"
proc-macro2 = "1"
proptest = "1.11"
prost = { version = "0.14.3", default-features = false }
prost-build = "0.14"
quinn = { version = "0.11", default-features = false, features = ["ring"] }
quote = "1.0"
rcgen = "0.14"
rustls_crate = { package = "rustls", version = "0.23", default-features = false, features = ["std", "tls12"] }
rustls-pemfile = "2"
serde = { version = "1", default-features = false }
serde_core = "1"
serde_json = "1"
serde_urlencoded = "0.7.1"
sha2 = "0.11.0"
slab = "0.4.11"
socket2 = "0.6.3"
sqlparser = "0.60.0"
syn = { version = "2", features = ["full"] }
tempfile = "3.27.0"
tokio = "1.51.0"
tokio-test = "0.4.2"
tower-http = "0.6"
tower-layer = "0.3"
tower-service = "0.3"
tracing = { version = "0.1.40", default-features = false }
tracing-subscriber = "0.3"
uuid = "1"
webpki-roots = "1.0.10"
zstd = "0.13"
# workspace member crates. keep versions in sync with each crate's own version:
# a mismatched requirement silently disables [patch.crates-io] and pulls the
# published copy from crates.io instead of the local path.
http-body-alt = "0.1.0"
http-encoding = "0.3.0"
http-file = { version = "0.3.0", default-features = false }
http-grpc-rs = "0.1.0"
http-multipart = "0.1.2"
http-rate = "0.1.1"
http-ws = "0.4.1"
tokio-uring-xitca = "0.2.2"
xitca-client = "0.1"
xitca-codegen = "0.4.0"
xitca-http = { version = "0.10.0", default-features = false }
xitca-io = "0.7.0"
xitca-postgres-codegen = "0.1.0"
xitca-router = "0.5.0"
xitca-server = "0.8.0"
xitca-service = "0.3.0"
xitca-tls = "0.7.0"
xitca-unsafe-collection = "0.3.0"
xitca-web = "0.9.0"