clawspec-core 0.4.2

Core library for generating OpenAPI specifications from tests
Documentation
# 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 = "2024"
name = "clawspec-core"
version = "0.4.2"
authors = ["Igor Laborie <ilaborie@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for generating OpenAPI specifications from tests"
homepage = "https://github.com/ilaborie/clawspec"
readme = "README.md"
keywords = [
    "openapi",
    "testing",
    "api",
    "documentation",
    "spec",
]
categories = [
    "development-tools::testing",
    "web-programming",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ilaborie/clawspec"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
oauth2 = ["dep:oauth2"]
redaction = [
    "dep:jsonptr",
    "dep:serde_json_path",
]
yaml = ["dep:serde-saphyr"]

[lib]
name = "clawspec_core"
path = "src/lib.rs"

[[example]]
name = "get"
path = "examples/get.rs"

[[bench]]
name = "path_replacement"
path = "benches/path_replacement.rs"
harness = false

[[bench]]
name = "performance"
path = "benches/performance.rs"
harness = false

[[bench]]
name = "performance_regression"
path = "benches/performance_regression.rs"

[dependencies.backon]
version = "1.3.0"

[dependencies.base64]
version = "0.22.1"

[dependencies.cruet]
version = "0.15.0"

[dependencies.derive_more]
version = "2.1.0"
features = [
    "error",
    "display",
    "from",
    "deref",
    "deref_mut",
    "debug",
]
default-features = false

[dependencies.headers]
version = "0.4.0"

[dependencies.http]
version = "1.4.0"

[dependencies.indexmap]
version = "2.12.1"

[dependencies.jsonptr]
version = "0.7.1"
optional = true

[dependencies.mime]
version = "0.3.17"

[dependencies.oauth2]
version = "5.0.0"
features = ["reqwest"]
optional = true
default-features = false

[dependencies.percent-encoding]
version = "2.3.1"

[dependencies.regex]
version = "1.11.1"

[dependencies.reqwest]
version = "0.13.1"
features = ["json"]
default-features = false

[dependencies.serde]
version = "1.0.219"

[dependencies.serde-saphyr]
version = "0.0.12"
optional = true

[dependencies.serde_json]
version = "1.0.140"

[dependencies.serde_json_path]
version = "0.7.1"
optional = true

[dependencies.serde_path_to_error]
version = "0.1.17"

[dependencies.serde_urlencoded]
version = "0.7.1"

[dependencies.slug]
version = "0.1.6"

[dependencies.tokio]
version = "1.47.0"
features = ["sync"]

[dependencies.tracing]
version = "0.1.43"

[dependencies.url]
version = "2.5.4"

[dependencies.utoipa]
version = "5.3.1"
features = [
    "debug",
    "yaml",
]

[dependencies.uuid]
version = "1.19.0"
features = ["v4"]

[dependencies.zeroize]
version = "1.8.1"
features = ["zeroize_derive"]

[dev-dependencies.annotate-snippets]
version = "0.12.5"

[dev-dependencies.anstyle]
version = "1.0.5"

[dev-dependencies.anyhow]
version = "1.0.98"

[dev-dependencies.criterion]
version = "0.8.1"

[dev-dependencies.insta]
version = "1.44.3"

[dev-dependencies.serde-saphyr]
version = "0.0.12"

[dev-dependencies.tokio]
version = "1.47.0"
features = ["full"]

[dev-dependencies.tracing-subscriber]
version = "0.3.22"
features = ["fmt"]

[dev-dependencies.wiremock]
version = "0.6"