diff --git a/Cargo.toml b/Cargo.toml index 94b3403..f54d164 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,3 +21,10 @@ xxhash-rust = { version = "0.8.5", features = ["xxh3"] } #base64 = "0.22" #moku = "0.2" #sha2 = "0.10" + +[profile.release] +lto = true + +[profile.coverage] +inherits = "test" +lto = false diff --git a/Justfile b/Justfile index af61a41..5839620 100644 --- a/Justfile +++ b/Justfile @@ -13,3 +13,6 @@ cov-md-ci: {{covfig}} time grcov . -s . {{grcov-binary}} {{grcov-ignore}} -t markdown | sort doc: cargo doc + +build-release: + time cargo build -j4 --release