diff --git a/Cargo.toml b/Cargo.toml index cc2b731..34b2972 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,3 +2,9 @@ members = [ "acmed", ] + +[profile.release] +opt-level = 'z' +lto = 'thin' +codegen-units = 1 +panic = 'abort' diff --git a/README.md b/README.md index df48dbc..c5398fa 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ In order to compile ADMEd, you will need the [Rust](https://www.rust-lang.org/) ACMEd depends on the OpenSSL. The minimal supported versions are those from the [openssl](https://docs.rs/openssl/) crate, currently OpenSSL 1.0.1 through 1.1.1 and LibreSSL 2.5 through 2.8. ``` -cargo build --release +cargo build --release && strip target/release/acmed ``` The executable is located in `target/release/acmed`.