Optimize release build

This commit is contained in:
Armin Friedl 2020-01-01 19:11:14 +01:00
parent a7ad7bc51c
commit 7c983d1afd
5 changed files with 11 additions and 4 deletions

View file

@ -4,3 +4,8 @@ members = [
"coffer-client",
"coffer-companion"
]
[profile.release]
lto = true
codegen-units = 1
panic = 'abort'

View file

@ -4,6 +4,7 @@
** TODO Add tests
** TODO Readme
* Coffer Server
** TODO Double delete if files not kept
** TODO Add secrets on-the-fly
** TODO Store secrets in secure memory
- Not persisted
@ -13,6 +14,7 @@
** DONE Set environment variables
CLOSED: [2019-11-27 Wed 22:51]
** TODO Send key requests encrypted/signed
** TODO Secure Communication
* Coffer Companion
** TODO Add Subcommands
- [X] Generate master key

View file

@ -20,7 +20,7 @@ quick_error! {
Cbor(err: serde_cbor::Error) {
from()
}
Crypto {}
Crypto
}
}

View file

@ -36,7 +36,7 @@ struct Args {
ip: IpAddr,
/// Prevent deletion of key files
#[structopt(short)]
#[structopt(long)]
keep_keys: bool
}