use rustls instead of openssl

This commit is contained in:
Waveplate 2024-11-02 19:12:23 -07:00
parent 8ee21c35c3
commit a012c0f935

View File

@ -15,19 +15,16 @@ codegen-units = 1
opt-level = "z"
strip = true # Automatically strip symbols from the binary.
[target.x86_64-unknown-linux-musl]
linker = "musl-gcc"
[[bin]]
name = "img2irc"
path = "src/main.rs"
[dependencies]
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
reqwest = "0.11.14"
reqwest = { version = "0.11.14", default-features = false, features = ["rustls-tls"] }
photon-rs = { version = "0.3.2", default-features = false, git = "https://github.com/silvia-odwyer/photon", rev = "3b72d357848cd76be9363e87ad0cd02a19b988d2" }
clap = { version = "4.2.0", features = ["cargo", "derive"] }
url = "2.3.1"
[target.'cfg(target_env = "musl")'.dependencies]
openssl-sys = "0.9.102"
[build-dependencies]
cc = "1.0"