-
Notifications
You must be signed in to change notification settings - Fork 148
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (42 loc) · 1.09 KB
/
Cargo.toml
File metadata and controls
50 lines (42 loc) · 1.09 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
[workspace]
resolver = "3"
members = [
"clash-bin",
"clash-lib",
"clash-doc",
"clash-ffi",
"clash-dns",
"clash-netstack"
]
[workspace.package]
version = "0.10.4"
repository = "https://github.com/Watfaq/clash-rs.git"
edition = "2024"
authors = ["https://github.com/Watfaq/clash-rs/graphs/contributors"]
homepage = "https://github.com/watfaq/clash-rs"
[profile.release]
opt-level = "z"
codegen-units = 1
lto = "fat"
strip = "symbols"
debug = 0
panic = "abort"
[profile.detailed-release]
inherits = "release"
opt-level = 1
lto = "thin"
strip = "none"
debug = "line-tables-only"
split-debuginfo = "off"
panic = "unwind"
incremental = true
codegen-units = 256
[workspace.lints.rust]
warnings = "deny"
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docker_test)', 'cfg(throughput_test)', 'cfg(tokio_unstable)'] }
[workspace.lints.clippy]
redundant_clone = "deny"
needless_collect = "deny"
[patch.crates-io]
rustls = { git = "https://github.com/Watfaq/rustls.git", branch = "watfaq/0.23.40" }
tokio-rustls = { git = "https://github.com/Watfaq/tokio-rustls.git", branch = "watfaq/0.26.4" }