22 lines
No EOL
825 B
TOML
22 lines
No EOL
825 B
TOML
[package]
|
|
name = "rs-random"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
rand = { version = "0.8", default-features = false, features = ["std_rng", "getrandom"] }
|
|
|
|
[profile.release]
|
|
opt-level = "z" # Optimize aggressively for size
|
|
lto = true # Link-time optimization
|
|
codegen-units = 1 # Maximum optimization opportunities
|
|
panic = "abort" # Smaller panic handling
|
|
strip = true # Strip symbols (Rust 1.59+)
|
|
overflow-checks = false # Disable overflow checks for size
|
|
debug = false # No debug info
|
|
debug-assertions = false # No debug assertions
|
|
incremental = false # Disable incremental compilation
|
|
rpath = false # Don't use rpath
|
|
|
|
[profile.release.package."*"]
|
|
opt-level = "z" # Apply size optimization to all dependencies |