diff --git a/Cargo.lock b/Cargo.lock index b7f4b98..e9e55a4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -145,12 +145,6 @@ version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" -[[package]] -name = "log" -version = "0.4.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" - [[package]] name = "memchr" version = "2.7.1" @@ -247,7 +241,6 @@ version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e87c9956bd9807afa1f77e0f7594af32566e830e088a5576d27c5b6f30f49d41" dependencies = [ - "log", "ring", "rustls-pki-types", "rustls-webpki", diff --git a/Cargo.toml b/Cargo.toml index 2cd24da..85c767a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,14 @@ license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -clap = { version = "4.5.2", default-features = false, features = ["derive", "std", "env", "help", "usage"] } +clap = { version = "4.5.2", default-features = false, features = ["derive", "std", "help", "usage"] } rustls-pemfile = "2.1.1" -tokio = { version = "1.36.0", features = ["rt-multi-thread", "tokio-macros", "macros", "net", "io-util", "io-std"] } -tokio-rustls = "0.25.0" +tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros", "net", "io-util", "io-std"]} +tokio-rustls = { version = "0.25.0", default-features = false, features = ["ring", "tls12"] } + +[profile.smol] +inherits = "release" +opt-level = "z" +panic = "abort" +strip = true +lto = true