oasgen 0.24.1

Generates OpenAPI 3.0 spec based on Rust code. Works with axum, actix-web, or independent of a web framework.
Documentation
[dependencies.actix-web]
optional = true
version = "4.3.1"

[dependencies.axum]
default-features = false
features = ["json"]
optional = true
version = "0.8.1"

[dependencies.futures]
version = "0.3.28"

[dependencies.http]
version = "1.0.0"

[dependencies.http-body]
version = "1.0.0"

[dependencies.http-body-util]
version = "0.1.0"

[dependencies.indexmap]
version = "2"

[dependencies.inventory]
version = "0.3.13"

[dependencies.oasgen-core]
version = "0.24"

[dependencies.oasgen-macro]
version = "0.24"

[dependencies.once_cell]
version = "1.18.0"

[dependencies.openapiv3-extended]
version = "6"

[dependencies.regex-lite]
version = "0.1.5"

[dependencies.serde]
features = ["derive"]
version = "1.0.171"

[dependencies.serde_json]
version = "1.0.100"

[dependencies.serde_yaml]
version = "0.9.22"

[dependencies.swagger-ui2]
optional = true
version = "0.6"

[dependencies.tower-cookies]
optional = true
version = "0.11.0"

[dev-dependencies.actix-web]
version = "4.3.1"

[dev-dependencies.pretty_assertions]
version = "1.4.0"

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

[dev-dependencies.trybuild]
version = "1.0.81"

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

[features]
actix = ["actix-web", "oasgen-core/actix"]
axum = ["oasgen-core/axum", "dep:axum"]
bigdecimal = ["oasgen-core/bigdecimal"]
chrono = ["oasgen-core/chrono"]
cookies = ["tower-cookies", "oasgen-core/cookies"]
json = ["oasgen-core/json"]
phonenumber = ["oasgen-core/phonenumber"]
serde_qs = ["oasgen-core/qs"]
sid = ["oasgen-core/sid"]
sqlx = ["oasgen-core/sqlx"]
swagger-ui = ["swagger-ui2"]
time = ["oasgen-core/time"]
uuid = ["oasgen-core/uuid"]

[lib]
doctest = false
name = "oasgen"
path = "src/lib.rs"

[package]
authors = ["Kurt Wolf <kurtwolfbuilds@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Generates OpenAPI 3.0 spec based on Rust code. Works with axum, actix-web, or independent of a web framework."
documentation = "https://docs.rs/oasgen"
edition = "2021"
homepage = "https://github.com/kurtbuilds/oasgen"
license = "MIT"
name = "oasgen"
readme = "README.md"
repository = "https://github.com/kurtbuilds/oasgen"
version = "0.24.1"

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

[[test]]
name = "oasgen_test_no_framework"
path = "tests/test-none.rs"

[[test]]
name = "test-enum"
path = "tests/test-enum.rs"

[[test]]
name = "oasgen_test_actix"
path = "tests/test-actix.rs"
required-features = ["actix"]

[[test]]
name = "oasgen_test_axum"
path = "tests/test-axum.rs"
required-features = ["axum"]