20 lines
596 B
TOML
20 lines
596 B
TOML
[package]
|
|
name = "code_unoptimised"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[profile.dev.package."*"] # +
|
|
opt-level = "z" # Optimize library for size
|
|
|
|
[profile.release]
|
|
#opt-level = 'z' # Optimize for size
|
|
opt-level = 3 # Optimize for speed
|
|
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*
|
|
|
|
[dependencies]
|
|
rand = "0.8.5" |