diff options
author | somehowchris <christof@weickhardt.ch> | 2022-07-28 21:21:09 +0200 |
---|---|---|
committer | andy.boot <bootandy@gmail.com> | 2022-08-15 11:56:46 +0100 |
commit | ad2e52e211f254c12e8b69208e550795434c71ff (patch) | |
tree | 90d3224e3c60b8e10ee8f9e8401a764421f83f70 | |
parent | 164bec71a3a8a857e964d3f975e3a833f40ba3ef (diff) |
perf: use lto, strip and codegen profile settings for perf opt
-rw-r--r-- | Cargo.toml | 27 |
1 files changed, 22 insertions, 5 deletions
@@ -21,13 +21,18 @@ travis-ci = { repository = "https://travis-ci.org/bootandy/dust" } name = "dust" path = "src/main.rs" +[profile.release] +codegen-units = 1 +lto = true +strip = true + [dependencies] ansi_term = "0.12" -clap = { version = "=3", features=["cargo"] } +clap = { version = "=3", features = ["cargo"] } lscolors = "0.7" terminal_size = "0.1" unicode-width = "0.1" -rayon="1" +rayon = "1" thousands = "0.2" stfu8 = "0.2" regex = "1" @@ -46,9 +51,21 @@ path = "tests/tests.rs" [package.metadata.deb] section = "utils" assets = [ - ["target/release/dust", "usr/bin/", "755"], - ["LICENSE", "usr/share/doc/du-dust/", "644"], - ["README.md", "usr/share/doc/du-dust/README", "644"], + [ + "target/release/dust", + "usr/bin/", + "755", + ], + [ + "LICENSE", + "usr/share/doc/du-dust/", + "644", + ], + [ + "README.md", + "usr/share/doc/du-dust/README", + "644", + ], ] extended-description = """\ Dust is meant to give you an instant overview of which directories are using |