diff --git a/Cargo.toml b/Cargo.toml index 5fb6bbf4b..2f1c9e956 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -144,3 +144,12 @@ paste = "1.0" rand = "0.8.5" time = "0.3" trait-set = "0.3.0" +[profile.dev] +# No optimizations +opt-level = 0 +# Skip compiling the debug information. +debug = false +# Skip linking debug information. +strip = "debuginfo" +[profile.dev.package."*"] +opt-level = 3