Re:Show HN: Lstr – A modern, interactive tree command writte...
by ethan_smith on Tuesday June 17, 2025 @10:54PM
(#44306274)
Try `cargo build --release --no-default-features` to get a much smaller binary (~5-10MB) - Rust statically links dependencies but supports conditional compilation for optional features.
[ Parent
| on HN ]
Re:Show HN: Lstr – A modern, interactive tree command writte...
by aystatic on Tuesday June 17, 2025 @11:04PM
(#44306317)
Glancing at the Cargo.toml, the package doesn't define any features anyways. `cargo b --no-default-features` only applies to the packages you're building, not their dependencies -- that would lead to very unpredictable behavior