From a2c9fc475f1654f851f4984792d590fc1c157d6d Mon Sep 17 00:00:00 2001 From: Avril Date: Thu, 13 Aug 2020 15:48:41 +0100 Subject: [PATCH] set opt target --- Cargo.lock | 2 +- Cargo.toml | 24 +++++++++++++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 507b17d..809c7b2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -188,7 +188,7 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "leanify-many" -version = "1.1.0" +version = "1.1.1" dependencies = [ "cfg-if", "futures", diff --git a/Cargo.toml b/Cargo.toml index 555a1a0..c7c3daa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "leanify-many" -version = "1.1.0" +version = "1.1.1" description = "spawn leanify subprocesses" authors = ["Avril "] edition = "2018" @@ -10,14 +10,36 @@ homepage = "https://git.flanchan.moe/flanchan/leanify-many" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[profile.release] +opt-level = 3 +lto = "fat" +codegen-units = 1 + [features] default = ["splash", "progress", "colour", "collect_err"] +# Enable progress bar progress = ["termprogress", "pin-project"] + +# Enable threaded scheduler +# +# Note: This is probably not desireable, since you'll want processors to be used by the child processes instead of the spawner here threads = ["tokio/rt-threaded"] + +# Show program info when passing --help splash = [] + +# Enable output colouring colour = ["recolored"] +# For americans +color = ["colour"] + +# Check arguments passed to children with `--passthough` by default checked_pass = [] + +# Collect `stderr` output instead of inheriting from parent `stderr` +# +# Note: Disabling this can cause weird deadlock bugs sometimes collect_err = [] [dependencies]