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