[dependencies.base64]
version = "0.22.0"
[dependencies.bson]
optional = true
version = "2.0.0"
[dependencies.bytes]
version = "1.1.0"
[dependencies.chrono]
default-features = false
features = ["clock"]
optional = true
version = "0.4.31"
[dependencies.derive_more]
features = ["display"]
version = "1.0"
[dependencies.email_address]
optional = true
version = "0.2.1"
[dependencies.futures-util]
version = "0.3.17"
[dependencies.geo-types]
optional = true
version = "0.7.12"
[dependencies.geojson]
features = ["geo-types"]
optional = true
version = "0.24.1"
[dependencies.hostname-validator]
optional = true
version = "1.1.0"
[dependencies.humantime]
optional = true
version = "2.1.0"
[dependencies.indexmap]
version = "2.0.0"
[dependencies.ipnet]
optional = true
version = "2.7.1"
[dependencies.mime]
version = "0.3.16"
[dependencies.num-traits]
version = "0.2.14"
[dependencies.poem]
default-features = true
features = ["multipart", "tempfile", "cookie", "sse", "xml", "yaml"]
version = "3.1.0"
[dependencies.poem-openapi-derive]
version = "5.1.1"
[dependencies.prost-wkt-types]
optional = true
version = "0.6.0"
[dependencies.quick-xml]
features = ["serialize"]
version = "0.36.1"
[dependencies.regex]
version = "1.5.5"
[dependencies.rust_decimal]
optional = true
version = "1.22.0"
[dependencies.serde]
features = ["derive"]
version = "1.0.130"
[dependencies.serde_json]
version = "1.0.68"
[dependencies.serde_urlencoded]
version = "0.7.1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sqlx]
features = ["json", "postgres", "sqlite", "mysql"]
optional = true
version = "0.8.0"
[dependencies.thiserror]
version = "1.0.30"
[dependencies.time]
features = ["parsing", "formatting"]
optional = true
version = "0.3.36"
[dependencies.tokio]
features = ["fs"]
version = "1.39.1"
[dependencies.url]
optional = true
version = "2.2.2"
[dependencies.uuid]
optional = true
version = "1.1.0"
[dev-dependencies.poem]
default-features = false
features = ["test"]
version = "3.1.0"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1.39.1"
[features]
email = ["email_address"]
geo = ["dep:geo-types", "dep:geojson"]
hostname = ["hostname-validator"]
openapi-explorer = []
rapidoc = []
redoc = []
sonic-rs = ["poem/sonic-rs"]
static-files = ["poem/static-files"]
swagger-ui = []
websocket = ["poem/websocket"]
[lib]
name = "poem_openapi"
path = "src/lib.rs"
[package]
authors = ["sunli <scott_s829@163.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["network-programming", "asynchronous"]
description = "OpenAPI support for Poem."
documentation = "https://docs.rs/poem/"
edition = "2021"
homepage = "https://github.com/poem-web/poem"
keywords = ["http", "async", "openapi", "swagger"]
license = "MIT OR Apache-2.0"
name = "poem-openapi"
readme = "README.md"
repository = "https://github.com/poem-web/poem"
rust-version = "1.81"
version = "5.1.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.workspaces]
independent = true
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "enum"
path = "tests/enum.rs"
[[test]]
name = "hygiene"
path = "tests/hygiene.rs"
[[test]]
name = "multipart"
path = "tests/multipart.rs"
[[test]]
name = "newtype"
path = "tests/newtype.rs"
[[test]]
name = "object"
path = "tests/object.rs"
[[test]]
name = "operation_param"
path = "tests/operation_param.rs"
[[test]]
name = "payload"
path = "tests/payload.rs"
[[test]]
name = "query"
path = "tests/query.rs"
[[test]]
name = "request"
path = "tests/request.rs"
[[test]]
name = "response"
path = "tests/response.rs"
[[test]]
name = "response_content"
path = "tests/response_content.rs"
[[test]]
name = "security_scheme"
path = "tests/security_scheme.rs"
[[test]]
name = "tags"
path = "tests/tags.rs"
[[test]]
name = "union"
path = "tests/union.rs"
[[test]]
name = "validation"
path = "tests/validation.rs"
[[test]]
name = "webhook"
path = "tests/webhook.rs"