# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.88"
name = "mitm2openapi"
version = "0.2.5"
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/**",
]
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 = "security"
path = "tests/security.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.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"

[dev-dependencies.tempfile]
version = "3"
