rathole/Cargo.toml

47 lines
1.2 KiB
TOML
Raw Normal View History

2021-12-11 05:30:42 -07:00
[package]
name = "rathole"
2021-12-25 04:17:21 -07:00
version = "0.2.0"
2021-12-11 05:30:42 -07:00
edition = "2021"
authors = ["Yujia Qiao <code@rapiz.me>"]
description = "A reverse proxy for NAT traversal"
2021-12-18 23:55:58 -07:00
license = "Apache-2.0"
2021-12-18 05:20:41 -07:00
repository = "https://github.com/rapiz1/rathole"
readme = "README.md"
2021-12-11 05:30:42 -07:00
[features]
default = ["tls", "server", "client", "noise"]
server = []
client = []
tls = ["tokio-native-tls"]
noise = ["snowstorm", "base64"]
2021-12-11 05:30:42 -07:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.bench]
debug = 1
[profile.minimal]
inherits = "release"
opt-level = "s"
2021-12-11 05:30:42 -07:00
[dependencies]
tokio = { version = "1", features = ["full"] }
2021-12-21 06:11:46 -07:00
bytes = { version = "1", features = ["serde"] }
2021-12-18 23:45:52 -07:00
clap = { version = "3.0.0-rc.7", features = ["derive"] }
2021-12-11 05:30:42 -07:00
toml = "0.5"
2021-12-18 23:45:52 -07:00
serde = { version = "1.0", features = ["derive"] }
2021-12-11 05:30:42 -07:00
anyhow = "1.0"
2021-12-19 03:11:09 -07:00
sha2 = "0.10"
2021-12-11 05:30:42 -07:00
bincode = "1"
lazy_static = "1.4.0"
hex = "0.4"
rand = "0.8.0"
2021-12-18 23:45:52 -07:00
backoff = { version="0.3.0", features=["tokio"] }
2021-12-11 05:30:42 -07:00
tracing = "0.1"
tracing-subscriber = "0.2"
socket2 = "0.4"
fdlimit = "0.2.1"
tokio-native-tls = { version = "0.3.0", optional = true }
2021-12-15 00:12:36 -07:00
async-trait = "0.1.52"
snowstorm = { version = "0.1.3", optional = true }
base64 = { version = "0.13.0", optional = true }