From 28f9220e6cc8ffda24e6aaee71338784a3d32cbc Mon Sep 17 00:00:00 2001 From: unspeaker Date: Sat, 15 Mar 2025 17:15:27 +0200 Subject: [PATCH] add profiles --- Cargo.toml | 7 +++++++ Justfile | 3 +++ 2 files changed, 10 insertions(+) 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