[package]
edition = "2021"
rust-version = "1.88"
name = "mitm2openapi"
version = "0.5.2"
authors = ["Arkptz <arkptz@gmail.com>"]
build = false
exclude = [
"ci/**",
"tests/integration/**",
"testdata/**",
"docs/demo.mp4",
".github/**",
"scripts/**",
"flake.nix",
"flake.lock",
".envrc",
".direnv/**",
".sisyphus/**",
".ruff_cache/**",
"book/**",
"docs/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convert mitmproxy flow dumps and HAR files to OpenAPI 3.0 specs — fast Rust rewrite of mitmproxy2swagger"
homepage = "https://github.com/Arkptz/mitm2openapi"
documentation = "https://docs.rs/mitm2openapi"
readme = "README.md"
keywords = [
"openapi",
"mitmproxy",
"har",
"swagger",
"api",
]
categories = [
"command-line-utilities",
"development-tools",
"web-programming",
]
license = "MIT"
repository = "https://github.com/Arkptz/mitm2openapi"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "mitm2openapi"
path = "src/lib.rs"
[[bin]]
name = "mitm2openapi"
path = "src/main.rs"
[[test]]
name = "cli_param_regex_removed"
path = "tests/cli_param_regex_removed.rs"
[[test]]
name = "merge_responses"
path = "tests/merge_responses.rs"
[[test]]
name = "output_atomic"
path = "tests/output_atomic.rs"
[[test]]
name = "report"
path = "tests/report.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "strict_mode"
path = "tests/strict_mode.rs"
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.22"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.globset]
version = "0.4"
[dependencies.har]
version = "0.9"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.openapiv3]
version = "2.2"
[dependencies.regex]
version = "1"
[dependencies.rmp-serde]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml_ng]
version = "0.10"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.proptest]
version = "1"