Cargo.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [package]
  2. name = "good-mitm-core"
  3. version = "0.4.1"
  4. edition = "2021"
  5. description = "Use MITM technology to provide features like rewrite, redirect."
  6. homepage = "https://github.com/zu1k/good-mitm"
  7. repository = "https://github.com/zu1k/good-mitm"
  8. license = "MIT"
  9. [dependencies]
  10. async-trait = "0.1"
  11. bytes = { version = "1", features = ["serde"] }
  12. byteorder = "1.4"
  13. cfg-if = "1"
  14. http = "0.2"
  15. hyper = { version = "0.14", features = ["http1", "http2", "server", "stream", "tcp", "runtime"] }
  16. hyper-proxy = { version = "0.9" }
  17. hyper-rustls = { version = "0.24" }
  18. hyper-tls = { version = "0.5", optional = true }
  19. log = "0.4"
  20. moka = { version = "0.11", features = ["future"] }
  21. openssl = { version = "0.10", features = ["vendored"], optional = true }
  22. pin-project = "1"
  23. rcgen = { version = "0.10", features = ["x509-parser"] }
  24. serde = { version = "1.0", features = ["derive"] }
  25. thiserror = "1"
  26. time = "0.3"
  27. typed-builder = "0.14"
  28. tokio = { version = "1", features = ["rt"] }
  29. tokio-rustls = { version = "0.24", default-features = false, features = ["tls12"] }
  30. tokio-util = { version = "0.7", features = ["io"] }
  31. wildmatch = "2.1"
  32. rustls = { version = "0.21", features = ["dangerous_configuration"] }
  33. rand = "0.8"
  34. [features]
  35. default = ["h2", "request-native-tls"]
  36. request-native-tls = ["hyper-tls", "openssl"]
  37. h2 = ["hyper-rustls/http2"]