diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2019-02-27 23:43:37 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2019-02-27 23:43:47 +0000 |
commit | 4b1cf262865ac3a8daffa2836e43eff5659a858f (patch) | |
tree | b1d43ac52170f24c828cc5c225131837c095ae78 | |
parent | Honor lockfile for release builds (diff) | |
download | miniserve-4b1cf262865ac3a8daffa2836e43eff5659a858f.tar.gz miniserve-4b1cf262865ac3a8daffa2836e43eff5659a858f.zip |
Optimize for smaller binaries
Diffstat (limited to '')
-rw-r--r-- | Cargo.toml | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -16,6 +16,9 @@ maintenance = { status = "actively-developed" } [profile.release] lto = true +opt-level = 'z' +codegen-units = 1 +panic = 'abort' [dependencies] clap = "2.29" @@ -32,4 +35,4 @@ alphanumeric-sort = "1.0.6" structopt = "0.2.14" chrono = "0.4.6" chrono-humanize = "0.0.11" -maud = { version = "0.20.0", features = ["actix-web"] }
\ No newline at end of file +maud = { version = "0.20.0", features = ["actix-web"] } |