aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nitrocli/CHANGELOG.md1
-rw-r--r--nitrocli/Cargo.toml6
2 files changed, 7 insertions, 0 deletions
diff --git a/nitrocli/CHANGELOG.md b/nitrocli/CHANGELOG.md
index 2bc16a9..09ac0eb 100644
--- a/nitrocli/CHANGELOG.md
+++ b/nitrocli/CHANGELOG.md
@@ -2,6 +2,7 @@ Unreleased
----------
- Added the `pws` command for accessing the password safe
- Added the `lock` command for locking the Nitrokey device
+- Adjusted release build compile options to optimize binary for size
0.2.0
diff --git a/nitrocli/Cargo.toml b/nitrocli/Cargo.toml
index ff3034a..9a692e4 100644
--- a/nitrocli/Cargo.toml
+++ b/nitrocli/Cargo.toml
@@ -35,6 +35,12 @@ A command line tool for interacting with the Nitrokey Storage device.
[badges]
gitlab = { repository = "d-e-s-o/nitrocli", branch = "master" }
+[profile.release]
+opt-level = "z"
+lto = true
+codegen-units = 1
+incremental = false
+
[dependencies.argparse]
version = "0.2.2"
path = "../argparse"