mirror of
https://github.com/waveplate/img2irc.git
synced 2024-11-25 00:46:40 +00:00
add musl target, required fields for crates.io
This commit is contained in:
parent
492eb2e7be
commit
22064ed4fc
10
Cargo.toml
10
Cargo.toml
@ -3,6 +3,10 @@ name = "img2irc"
|
|||||||
version = "1.0.4"
|
version = "1.0.4"
|
||||||
authors = ["waveplate"]
|
authors = ["waveplate"]
|
||||||
github = "https://github.com/waveplate/img2irc"
|
github = "https://github.com/waveplate/img2irc"
|
||||||
|
homepage = "https://github.com/waveplate/img2irc"
|
||||||
|
description = "CLI utility to convert images to halfblock ANSI or IRC art with various optional post-processing filters"
|
||||||
|
license = "GPL-3.0-only"
|
||||||
|
readme = "README.md"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
@ -11,9 +15,15 @@ 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"
|
||||||
|
|
||||||
[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 = "0.11.14"
|
||||||
photon-rs = "0.3.2"
|
photon-rs = "0.3.2"
|
||||||
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]
|
||||||
|
openssl-sys = "0.9.102"
|
||||||
|
Loading…
Reference in New Issue
Block a user