Add lto thin (#410)

This commit is contained in:
Firstyear 2021-04-13 12:04:27 +10:00 committed by GitHub
parent 7994ec24d8
commit 19ce30a5ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -9,7 +9,8 @@ documentation = "https://docs.rs/kanidm/latest/kanidm/"
homepage = "https://github.com/kanidm/kanidm/"
repository = "https://github.com/kanidm/kanidm/"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
lto = "thin"
[lib]
name = "kanidm_unix_common"

View file

@ -9,6 +9,9 @@ documentation = "https://docs.rs/kanidm/latest/kanidm/"
homepage = "https://github.com/kanidm/kanidm/"
repository = "https://github.com/kanidm/kanidm/"
[profile.release]
lto = "thin"
[lib]
name = "kanidm"
path = "src/lib/lib.rs"