Initial Commit
This commit is contained in:
commit
ef7473a29e
5 changed files with 381 additions and 0 deletions
22
Cargo.toml
Normal file
22
Cargo.toml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[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
|
||||
Loading…
Add table
Add a link
Reference in a new issue