piped-proxy/Cargo.toml

47 lines
1.3 KiB
TOML
Raw Normal View History

2022-11-02 22:09:52 +05:30
[package]
edition = "2021"
name = "piped-proxy"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# Web Requests & Async Runtime
tokio = { version = "1.36.0", features = ["full"] }
actix-web = "4.5.1"
reqwest = { version = "0.11.26", features = ["stream", "brotli", "gzip", "socks"], default-features = false }
2022-11-02 22:09:52 +05:30
qstring = "0.7.2"
# Alternate Allocator
mimalloc = { version = "0.1.39", optional = true }
# Transcoding Images to WebP/AVIF to save bandwidth
2024-03-11 14:29:47 +05:30
image = { version = "0.25.0", features = ["jpeg", "webp", "rayon"], default-features = false, optional = true }
libwebp-sys = { version = "0.9.5", optional = true }
ravif = { version = "0.11.5", optional = true }
rgb = { version = "0.8.37", optional = true }
once_cell = "1.19.0"
regex = "1.10.3"
blake3 = { version = "1.5.1", optional = true }
bytes = "1.5.0"
futures-util = "0.3.30"
2023-07-13 16:16:17 +05:30
[features]
default = ["webp", "mimalloc", "reqwest-rustls", "qhash"]
reqwest-rustls = ["reqwest/rustls-tls"]
reqwest-native-tls = ["reqwest/default-tls"]
avif = ["dep:ravif", "dep:rgb", "dep:image"]
webp = ["dep:libwebp-sys", "dep:image"]
mimalloc = ["dep:mimalloc"]
2023-08-11 04:54:05 +05:30
2023-10-31 05:22:21 +05:30
optimized = ["libwebp-sys?/sse41", "libwebp-sys?/avx2", "libwebp-sys?/neon"]
qhash = ["blake3"]
2023-08-11 04:54:05 +05:30
[profile.release]
lto = true