From b978f0ae02648d11cf790e34e769c8dc0bf0c78b Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Wed, 15 Nov 2017 10:10:17 -0800 Subject: [PATCH] Remove profile settings from Cargo.toml These all have the default values, except for the "yolocrypto" requirement in the test section, which is already covered by CI and which doesn't do what we want anyways -- it does not enable the feature if it's not there. --- Cargo.toml | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b49ee3b..0a23de5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,55 +59,3 @@ yolocrypto = [] bench = [] # Radix-51 arithmetic using u128 radix_51 = [] - -# The development profile, used for `cargo build`. -[profile.dev] -opt-level = 0 # controls the `--opt-level` the compiler builds with -debug = true # controls whether the compiler passes `-g` -rpath = false # controls whether the compiler passes `-C rpath` -lto = false # controls `-C lto` for binaries and staticlibs -debug-assertions = true # controls whether debug assertions are enabled -codegen-units = 1 # controls whether the compiler passes `-C codegen-units` - # `codegen-units` is ignored when `lto = true` -panic = 'unwind' # panic strategy (`-C panic=...`), can also be 'abort' - -# The release profile, used for `cargo build --release`. -[profile.release] -opt-level = 3 -debug = false -rpath = false -lto = false -debug-assertions = false -codegen-units = 1 -panic = 'unwind' - -# The testing profile, used for `cargo test`. -[profile.test] -opt-level = 0 -debug = true -rpath = false -lto = false -debug-assertions = true -codegen-units = 1 -panic = 'unwind' -required-features = ['yolocrypto'] - -# The benchmarking profile, used for `cargo bench`. -[profile.bench] -opt-level = 3 -debug = false -rpath = false -lto = false -debug-assertions = false -codegen-units = 1 -panic = 'unwind' - -# The documentation profile, used for `cargo doc`. -[profile.doc] -opt-level = 0 -debug = true -rpath = false -lto = false -debug-assertions = true -codegen-units = 1 -panic = 'unwind'