summarylogtreecommitdiffstats
path: root/size-optimisations.patch
blob: 7c7c1902011ff5f941129a2983f79d8c77a53c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/Cargo.toml b/Cargo.toml
index 5541e99..cda7add 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,6 +9,11 @@ edition = "2021"
 [lib]
 crate-type = ["cdylib"]
 
+[profile.release]
+panic = 'abort'
+opt-level = 'z'
+lto = true
+
 [dependencies]
 serde = { version = "1.0.137", features = ["derive"] }
 serde_json = "1.0.81"