mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
perf: use lto, strip and codegen profile settings for perf opt
This commit is contained in:
+22
-5
@@ -21,13 +21,18 @@ travis-ci = { repository = "https://travis-ci.org/bootandy/dust" }
|
|||||||
name = "dust"
|
name = "dust"
|
||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
codegen-units = 1
|
||||||
|
lto = true
|
||||||
|
strip = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ansi_term = "0.12"
|
ansi_term = "0.12"
|
||||||
clap = { version = "=3", features=["cargo"] }
|
clap = { version = "=3", features = ["cargo"] }
|
||||||
lscolors = "0.7"
|
lscolors = "0.7"
|
||||||
terminal_size = "0.1"
|
terminal_size = "0.1"
|
||||||
unicode-width = "0.1"
|
unicode-width = "0.1"
|
||||||
rayon="1"
|
rayon = "1"
|
||||||
thousands = "0.2"
|
thousands = "0.2"
|
||||||
stfu8 = "0.2"
|
stfu8 = "0.2"
|
||||||
regex = "1"
|
regex = "1"
|
||||||
@@ -46,9 +51,21 @@ path = "tests/tests.rs"
|
|||||||
[package.metadata.deb]
|
[package.metadata.deb]
|
||||||
section = "utils"
|
section = "utils"
|
||||||
assets = [
|
assets = [
|
||||||
["target/release/dust", "usr/bin/", "755"],
|
[
|
||||||
["LICENSE", "usr/share/doc/du-dust/", "644"],
|
"target/release/dust",
|
||||||
["README.md", "usr/share/doc/du-dust/README", "644"],
|
"usr/bin/",
|
||||||
|
"755",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"LICENSE",
|
||||||
|
"usr/share/doc/du-dust/",
|
||||||
|
"644",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"README.md",
|
||||||
|
"usr/share/doc/du-dust/README",
|
||||||
|
"644",
|
||||||
|
],
|
||||||
]
|
]
|
||||||
extended-description = """\
|
extended-description = """\
|
||||||
Dust is meant to give you an instant overview of which directories are using
|
Dust is meant to give you an instant overview of which directories are using
|
||||||
|
|||||||
Reference in New Issue
Block a user