-
-
Notifications
You must be signed in to change notification settings - Fork 139
/
Copy pathCargo.toml
30 lines (27 loc) · 886 Bytes
/
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
[workspace.package]
#name = "observer-ward" #改这个
version = "0.1.0"
edition = "2021"
authors = ["Kali-Team <[email protected]>"]
include = ["LICENSE", "Cargo.toml", "src/**/*.rs"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["engine", "observer_ward"]
default-members = ["observer_ward"]
resolver = "2"
#https://github.com/johnthagen/min-sized-rust
[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 # Automatically strip symbols from the binary.
[profile.dev.package."*"]
opt-level = 3
[profile.test]
opt-level = 3
lto = "thin"
[profile.bench]
lto = true
codegen-units = 1
opt-level = 3