Cargo.toml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [package]
  2. name = "rathole"
  3. version = "0.1.2"
  4. edition = "2021"
  5. authors = ["Yujia Qiao <code@rapiz.me>"]
  6. description = "A reverse proxy for NAT traversal"
  7. license = "Apache-2.0"
  8. repository = "https://github.com/rapiz1/rathole"
  9. readme = "README.md"
  10. [features]
  11. default = ["tls", "server", "client"]
  12. tls = ["tokio-native-tls"]
  13. server = []
  14. client = []
  15. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  16. [profile.bench]
  17. debug = 1
  18. [profile.minimal]
  19. inherits = "release"
  20. opt-level = "s"
  21. [dependencies]
  22. tokio = { version = "1", features = ["full"] }
  23. bytes = { version = "1"}
  24. clap = { version = "3.0.0-rc.7", features = ["derive"] }
  25. toml = "0.5"
  26. serde = { version = "1.0", features = ["derive"] }
  27. anyhow = "1.0"
  28. sha2 = "0.10"
  29. bincode = "1"
  30. lazy_static = "1.4.0"
  31. hex = "0.4"
  32. rand = "0.8.0"
  33. backoff = { version="0.3.0", features=["tokio"] }
  34. tracing = "0.1"
  35. tracing-subscriber = "0.2"
  36. socket2 = "0.4"
  37. fdlimit = "0.2.1"
  38. tokio-native-tls = { version = "0.3.0", optional = true }
  39. async-trait = "0.1.52"