mirror of
https://github.com/waveplate/img2irc.git
synced 2024-12-22 05:36:37 +00:00
use rustls instead of openssl
This commit is contained in:
parent
8ee21c35c3
commit
a012c0f935
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user