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

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

View file

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

View file

@ -15,4 +15,4 @@ sodiumoxide = "0.2.5"
# Communication # Communication
serde = { version = "1.0", features = ["derive"]} serde = { version = "1.0", features = ["derive"]}
serde_cbor = "0.10.2" serde_cbor = "0.10.2"
futures = { version = "0.3.1", features = ["thread-pool"]} futures = { version = "0.3.1", features = ["thread-pool"]}

View file

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

View file

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