30 lines
No EOL
1,007 B
TOML
30 lines
No EOL
1,007 B
TOML
[package]
|
|
name = "song-hash"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5", default-features = false, features = ["derive", "std"] }
|
|
walkdir = "2.3"
|
|
blake3 = { version = "1.5", features = ["rayon"] }
|
|
anyhow = "1.0"
|
|
rayon = "1.10"
|
|
indicatif = { version = "0.17", features = ["rayon"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.8"
|
|
|
|
[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 |