From bd3af1b167bef56bed2f7d9ea27236711b28131f Mon Sep 17 00:00:00 2001 From: Avril Date: Wed, 6 Apr 2022 17:54:42 +0100 Subject: [PATCH] Removed `byte-strings` as a default feature: It causes a slight slowdown, and most people won"t need it"s functionality. `ignore-invalid-arguments` is thus prefered as default. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fortune for reverse's current commit: Small curse − 小凶 --- Cargo.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fe17535..5b99c37 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] -default = ["output-lines", "buffer-output", "ignore-output-errors", "ignore-invalid-args", "byte-strings"] +default = ["output-lines", "buffer-output", "ignore-output-errors", "ignore-invalid-args"] # Output as lines instead of `["2", "1", "0"]` output-lines = [] @@ -26,6 +26,7 @@ ignore-output-errors = [] ignore-invalid-args = [] # Operate on raw input byte arrays instead of strings; so non-utf8 characters will be preserved in both input and output +# NOTE: May cause collecting from stdin to be *slightly* slower when enabled; so only enable if you intend to be operating on non-utf8 strings (which is usually unlikely) # NOTE: `ignore-invalid-args` will do nothing if this is enabled. byte-strings = [] @@ -34,6 +35,9 @@ opt-level = 3 lto = "fat" codegen-units = 1 strip=true -#panic="abort" # XXX: This doesn't remove panic handler, for some reason... + +[profile.symbols] +inherits="release" +strip=false [dependencies]