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]
|
2023-09-28 02:10:47 +05:30
|
|
|
# Web Requests & Async Runtime
|
2024-03-29 00:34:28 +05:30
|
|
|
tokio = { version = "1.37.0", features = ["full"] }
|
2024-02-04 09:56:29 +05:30
|
|
|
actix-web = "4.5.1"
|
2024-03-20 01:31:30 +05:30
|
|
|
reqwest = { version = "0.11.27", features = ["stream", "brotli", "gzip", "socks"], default-features = false }
|
2022-11-02 22:09:52 +05:30
|
|
|
qstring = "0.7.2"
|
2023-09-28 02:10:47 +05:30
|
|
|
|
|
|
|
# Alternate Allocator
|
|
|
|
mimalloc = { version = "0.1.39", optional = true }
|
|
|
|
|
|
|
|
# Transcoding Images to WebP/AVIF to save bandwidth
|
2024-03-31 08:34:50 +05:30
|
|
|
image = { version = "0.25.1", features = ["jpeg", "webp", "rayon"], default-features = false, optional = true }
|
2024-02-19 12:17:37 +05:30
|
|
|
libwebp-sys = { version = "0.9.5", optional = true }
|
2024-03-14 20:11:44 +05:30
|
|
|
ravif = { version = "0.11.5", optional = true }
|
2023-10-29 18:25:07 +05:30
|
|
|
rgb = { version = "0.8.37", optional = true }
|
2023-09-28 02:10:47 +05:30
|
|
|
|
2023-12-07 19:16:56 +05:30
|
|
|
once_cell = "1.19.0"
|
2024-03-23 10:59:25 +05:30
|
|
|
regex = "1.10.4"
|
2024-03-12 17:55:33 +05:30
|
|
|
blake3 = { version = "1.5.1", optional = true }
|
2024-03-23 02:33:47 +05:30
|
|
|
bytes = "1.6.0"
|
2023-12-24 22:27:31 +05:30
|
|
|
futures-util = "0.3.30"
|
2023-07-13 16:16:17 +05:30
|
|
|
|
|
|
|
[features]
|
2023-11-17 20:34:42 +05:30
|
|
|
default = ["webp", "mimalloc", "reqwest-rustls", "qhash"]
|
2023-09-28 02:10:47 +05:30
|
|
|
|
|
|
|
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"]
|
|
|
|
|
2023-11-17 20:34:42 +05:30
|
|
|
qhash = ["blake3"]
|
|
|
|
|
2023-08-11 04:54:05 +05:30
|
|
|
[profile.release]
|
2023-09-28 02:10:47 +05:30
|
|
|
lto = true
|