Cargo.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [package]
  2. name = "good-mitm"
  3. version = "0.4.2"
  4. authors = ["zu1k <[email protected]>"]
  5. edition = "2021"
  6. description = "Good Man in the Middle: Use MITM technology to provide features like rewrite, redirect."
  7. readme = "README.md"
  8. homepage = "https://github.com/zu1k/good-mitm"
  9. repository = "https://github.com/zu1k/good-mitm"
  10. license = "MIT"
  11. keywords = ["proxy", "MITM"]
  12. exclude = [".github/", "docs/", "rules/"]
  13. [profile.release]
  14. strip = true
  15. lto = true
  16. opt-level = "s"
  17. codegen-units = 1
  18. [dependencies]
  19. mitm-core = { path = "crates/core", package = "good-mitm-core" }
  20. rule = { path = "crates/rule", package = "good-mitm-rule" }
  21. anyhow = "1.0"
  22. clap = { version = "4", features = ["derive"] }
  23. thiserror = "1"
  24. log = "0.4"
  25. env_logger = "0.10"
  26. serde = { version = "1.0", features = ["derive"] }
  27. serde_yaml = "0.9"
  28. hyper-proxy = { version = "0.9", default-features = false }
  29. rustls-pemfile = "1.0"
  30. tokio = { version = "1", features = ["rt-multi-thread", "signal"] }
  31. rustls = "0.21"
  32. trust_cert = { path = "crates/trust_cert", optional = true }
  33. [features]
  34. default = []
  35. trust-cert = ["dep:trust_cert"]
  36. js = ["rule/js"]
  37. [workspace]
  38. members = [
  39. "crates/core",
  40. "crates/rule",
  41. "crates/trust_cert"
  42. ]