XMPP reverse proxy and outgoing proxy https://github.com/moparisthebest/xmpp-proxy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.5 KiB

8 months ago
8 months ago
8 months ago
  1. [package]
  2. name = "xmpp-proxy"
  3. version = "1.0.0"
  4. authors = ["moparisthebest <admin@moparisthebest.com>"]
  5. description = "XMPP reverse proxy and outgoing proxy"
  6. repository = "https://code.moparisthebest.com/moparisthebest/xmpp-proxy"
  7. keywords = ["xmpp", "proxy"]
  8. license = "AGPL-3.0-or-later"
  9. readme = "README.md"
  10. edition = "2018"
  11. include = [
  12. "**/*.rs",
  13. "Cargo.toml",
  14. "*.md",
  15. "xmpp-proxy.toml",
  16. ]
  17. [dependencies]
  18. toml = "0.5"
  19. serde_derive = "1.0"
  20. serde = { version = "1.0", features = ["derive"] }
  21. futures = "0.3"
  22. die = "0.2"
  23. anyhow = "1.0"
  24. tokio = { version = "1.4", features = ["net", "rt", "rt-multi-thread", "macros", "io-util"] }
  25. # logging deps
  26. log = "0.4"
  27. env_logger = { version = "0.8", optional = true }
  28. # incoming deps
  29. tokio-rustls = { version = "0.22", optional = true }
  30. # outgoing deps
  31. lazy_static = { version = "1.4", optional = true }
  32. webpki-roots = { version = "0.21", optional = true }
  33. trust-dns-resolver = { version = "0.20", optional = true }
  34. #trust-dns-resolver = { version = "0.20", features = ["dns-over-rustls"], optional = true }
  35. # quic deps
  36. quinn = { version = "0.7", optional = true }
  37. [features]
  38. default = ["incoming", "outgoing", "quic", "env_logger"]
  39. #default = ["incoming", "outgoing"]
  40. #default = ["incoming", "quic"]
  41. #default = ["outgoing", "quic"]
  42. #default = ["quic"]
  43. #default = ["outgoing"]
  44. #default = ["incoming"]
  45. incoming = ["tokio-rustls"]
  46. outgoing = ["tokio-rustls", "trust-dns-resolver", "webpki-roots", "lazy_static"]
  47. quic = ["quinn"]