aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorEvsyukov Denis Anatolyevich <[email protected]>2020-03-10 12:52:26 +0300
committerEvsyukov Denis Anatolyevich <[email protected]>2020-03-10 13:12:01 +0300
commitbe14d1bc0fda257a5be86023f3cabce5ca019f19 (patch)
tree1d938800651591767d709e240052225b27d16ada /Cargo.toml
parent[+] prefixes (diff)
downloadt-be14d1bc0fda257a5be86023f3cabce5ca019f19.tar.xz
t-be14d1bc0fda257a5be86023f3cabce5ca019f19.zip
[+] optimize by size
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml8
1 files changed, 7 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 16eb323..2ca4e59 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,4 +8,10 @@ edition = "2018"
[dependencies]
getopts = "0.2"
-rust-crypto = "0.2" \ No newline at end of file
+rust-crypto = "0.2"
+
+[profile.release]
+opt-level = 's' # Optimize for size.
+lto = true
+# codegen-units = 1
+# panic = 'abort' \ No newline at end of file