diff --git a/Cargo.toml b/Cargo.toml index c0fa63c..555ab28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"