-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
33 lines (29 loc) · 949 Bytes
/
Cargo.toml
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
[package]
name = "reverseproxy"
version = "0.3.0"
edition = "2021"
description = "Multi protocol reverse proxy"
authors = ["Yuki Kishimoto <[email protected]>"]
homepage = "https://github.com/shadowylab/reverseproxy"
repository = "https://github.com/shadowylab/reverseproxy.git"
license = "MIT"
readme = "README.md"
categories = ["command-line-utilities"]
keywords = ["networking", "reverseproxy", "proxy"]
[features]
default = ["tor"]
tor = ["dep:arti-client", "dep:tor-rtcompat"]
[dependencies]
arti-client = { version = "0.22", features = ["onion-service-client", "tokio"], optional = true }
clap = { version = "4.5", features = ["derive"] }
futures = "0.3"
tokio = { version = "1.40", features = ["macros", "net", "rt-multi-thread", "sync"] }
tokio-socks = "0.5"
tor-rtcompat = { version = "0.22", optional = true }
[dev-dependencies]
tempfile = "3.12"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"