mirror of
https://github.com/waveplate/img2irc.git
synced 2024-11-05 07:16:42 +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"
|
opt-level = "z"
|
||||||
strip = true # Automatically strip symbols from the binary.
|
strip = true # Automatically strip symbols from the binary.
|
||||||
|
|
||||||
[target.x86_64-unknown-linux-musl]
|
|
||||||
linker = "musl-gcc"
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "img2irc"
|
name = "img2irc"
|
||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
|
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" }
|
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"] }
|
clap = { version = "4.2.0", features = ["cargo", "derive"] }
|
||||||
url = "2.3.1"
|
url = "2.3.1"
|
||||||
|
|
||||||
[target.'cfg(target_env = "musl")'.dependencies]
|
[build-dependencies]
|
||||||
openssl-sys = "0.9.102"
|
cc = "1.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user