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