[package]
name = "rocket_okapi"
description = "OpenAPI (AKA Swagger) document generation for Rocket applications"
repository = "https://github.com/GREsau/okapi"
version = "0.8.0-rc.3"
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
edition = "2018"
license = "MIT"
readme = "../README.md"
keywords = ["rust", "openapi", "swagger", "rocket"]
categories = ["web-programming"]
[dependencies]
rocket = { version = "=0.5.0-rc.3", default-features = false, features = ["json"] }
schemars = { version = "0.8.10" }
okapi = { version = "0.7.0-rc.1", path = "../okapi" }
rocket_okapi_codegen = { version = "=0.8.0-rc.3", path = "../rocket-okapi-codegen" }
serde = "1.0"
serde_json = "1.0"
log = "0.4"
either = "1"
rocket_dyn_templates = { version = "=0.1.0-rc.3", optional = true }
rocket_db_pools = { version = "=0.1.0-rc.3", optional = true }
[dev-dependencies]
rocket_sync_db_pools = { version = "0.1.0-rc.3", features = ["diesel_sqlite_pool"] }
[features]
default = ["preserve_order"]
preserve_order = ["schemars/preserve_order", "okapi/preserve_order"]
swagger = []
rapidoc = []
uuid = ["rocket/uuid", "schemars/uuid"]
msgpack = ["rocket/msgpack"]
secrets = ["rocket/secrets"]
mtls = ["rocket/mtls"]
[package.metadata.docs.rs]
features = ["swagger", "rapidoc"]