summarylogtreecommitdiffstats
path: root/size-optimisations.patch
blob: e60f9e6d960f1299e15c86bcbb9df001ca09b3b1 (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 558ceb5..913630d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,6 +6,11 @@ edition = "2018"
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
+[profile.release]
+panic = 'abort'
+opt-level = 'z'
+lto = true
+
 [dependencies]
 serde = { version = "1.0", features = ["derive"] }
 serde_json = "1.0"