-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (34 loc) · 890 Bytes
/
Copy pathCargo.toml
File metadata and controls
43 lines (34 loc) · 890 Bytes
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
[package]
name = "proxy"
version = "0.1.0"
edition = "2024"
[profile.dev]
debug = 0
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
[lints.rust]
unsafe_code = "forbid"
# while developing, allow dead code and unused imports/variables
dead_code = { level = "allow", priority = -1 }
unused = { level = "allow", priority = -1 }
[dependencies]
# Async
async-trait = "0.1.89"
tokio = { version = "1.52.3", features = ["full"] }
# Certs
# used Ring as backend for default
rcgen = { version = "0.14.8", features = ["default"] }
# match the backed from rcgen
instant-acme = { version = "0.8.5", features = ["rcgen"] }
# TOML
toml = "1.1.2"
# Json
serde = { version = "1.0.228", features = ["derive"] }
# Others
thiserror = "2.0.18"
chrono = { version = "0.4.44", features = ["serde"] }
# HTTP
http = "1.4.1"
pingora = { version = "0.8.0", features = ["proxy", "boringssl"] }