-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (45 loc) · 1.35 KB
/
Cargo.toml
File metadata and controls
57 lines (45 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[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.37.0", features = ["full"] }
actix-web = "4.5.1"
reqwest = { version = "0.13.2", features = [
"stream",
"brotli",
"gzip",
"socks",
], default-features = false }
qstring = "0.7.2"
# Alternate Allocator
mimalloc = { version = "0.1.41", optional = true }
# Transcoding Images to WebP/AVIF to save bandwidth
image = { version = "0.25.1", features = [
"jpeg",
"webp",
"rayon",
], default-features = false, optional = true }
libwebp-sys = { version = "0.14.0", optional = true }
ravif = { version = "0.13.0", optional = true }
rgb = { version = "0.8.37", optional = true }
once_cell = "1.19.0"
regex = "1.10.4"
blake3 = { version = "1.5.5", optional = true }
bytes = "1.9.0"
futures-util = "0.3.30"
listenfd = "1.0.1"
http = "1.4.0"
[features]
default = ["webp", "mimalloc", "reqwest-rustls", "qhash"]
reqwest-rustls = ["reqwest/rustls"]
reqwest-native-tls = ["reqwest/native-tls"]
avif = ["dep:ravif", "dep:rgb", "dep:image"]
webp = ["dep:libwebp-sys", "dep:image"]
mimalloc = ["dep:mimalloc"]
optimized = ["libwebp-sys?/sse41", "libwebp-sys?/avx2", "libwebp-sys?/neon"]
qhash = ["blake3"]
[profile.release]
lto = true