summary refs log tree commit diff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml19
1 files changed, 19 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index b3403d7..f817db1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,3 +19,22 @@ bigint-engine = ["dep:byteorder", "dep:widestring"]
 engine-u16 = ["bigint-engine"]
 engine-u32 = ["bigint-engine"]
 utilities = []
+
+[profile.release]
+codegen-units = 1
+debug = 0
+incremental = false
+lto = true
+opt-level = 3
+panic = "abort"
+strip = "symbols"
+
+[profile.small]
+inherits = "release"
+codegen-units = 1
+debug = 0
+incremental = false
+lto = true
+opt-level = "z"
+panic = "abort"
+strip = "symbols"