-
Notifications
You must be signed in to change notification settings - Fork 46
/
Cargo.toml
55 lines (51 loc) · 1.25 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
[workspace]
resolver = "2"
members = [
"client",
"codegen",
"http",
"io",
"postgres",
"postgres-codegen",
"router",
"server",
"service",
"test",
"tls",
"unsafe_collection",
"web",
"http-encoding",
"http-file",
"http-multipart",
"http-rate",
"http-ws",
]
[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-encoding = { path = "./http-encoding" }
http-file = { path = "http-file" }
http-multipart = { path = "./http-multipart" }
http-rate = { path = "./http-rate" }
http-ws = { path = "./http-ws" }
[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"