|
@@ -16,12 +16,18 @@ tls = ["tokio-native-tls"]
|
|
|
noise = ["snowstorm", "base64"]
|
|
noise = ["snowstorm", "base64"]
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
+[profile.release]
|
|
|
|
|
+lto = true
|
|
|
|
|
+
|
|
|
[profile.bench]
|
|
[profile.bench]
|
|
|
debug = 1
|
|
debug = 1
|
|
|
|
|
|
|
|
[profile.minimal]
|
|
[profile.minimal]
|
|
|
inherits = "release"
|
|
inherits = "release"
|
|
|
-opt-level = "s"
|
|
|
|
|
|
|
+opt-level = "z"
|
|
|
|
|
+lto = true
|
|
|
|
|
+codegen-units = 1
|
|
|
|
|
+panic = "abort"
|
|
|
|
|
|
|
|
[dependencies]
|
|
[dependencies]
|
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio = { version = "1", features = ["full"] }
|