[dependencies.log]
version = "0.4"
[dependencies.okapi]
version = "0.7.0"
[dependencies.rocket]
default-features = false
features = ["json"]
version = "=0.5.1"
[dependencies.rocket_db_pools]
optional = true
version = "=0.2.0"
[dependencies.rocket_dyn_templates]
optional = true
version = "=0.2.0"
[dependencies.rocket_okapi_codegen]
version = "=0.9.0"
[dependencies.rocket_sync_db_pools]
optional = true
version = "=0.1.0"
[dependencies.rocket_ws]
optional = true
version = "0.1.1"
[dependencies.schemars]
version = "0.8"
[dependencies.serde]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dev-dependencies.rocket_sync_db_pools]
features = ["diesel_sqlite_pool"]
version = "0.1.0"
[features]
default = ["preserve_order"]
msgpack = ["rocket/msgpack"]
mtls = ["rocket/mtls"]
preserve_order = ["schemars/preserve_order", "okapi/preserve_order"]
rapidoc = []
secrets = ["rocket/secrets"]
swagger = []
uuid = ["rocket/uuid", "schemars/uuid"]
[lib]
name = "rocket_okapi"
path = "src/lib.rs"
[package]
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["web-programming"]
description = "OpenAPI (AKA Swagger) document generation for Rocket applications"
edition = "2021"
keywords = ["rust", "openapi", "swagger", "rocket"]
license = "MIT"
name = "rocket_okapi"
readme = "README.md"
repository = "https://github.com/GREsau/okapi"
version = "0.9.0"
[package.metadata.docs.rs]
all-features = true
features = ["rocket_dyn_templates/handlebars", "rocket_dyn_templates/tera"]
[[test]]
name = "db_pool"
path = "tests/db_pool.rs"
[[test]]
name = "deprecated"
path = "tests/deprecated.rs"