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]