From 0a780d89e3ed924420d0a71980ff2b02b14b6998 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Wed, 5 May 2021 12:04:41 +0800 Subject: [PATCH] chore: compile opt --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index ff70e27..419ea0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,3 +17,7 @@ async-std = { version = "1.8", features = ["attributes"] } serde = { version = "1.0", features = ["derive"] } deser-hjson = "0.1" x509-parser = "0.9.2" +codegen-units = 1 +opt-level = 'z' +lto = true +#panic = 'abort'