# 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 = "okapi-operation" version = "0.3.0-rc3" authors = ["Andrey Kononov flowneee3@gmail.com"] description = "Procedural macro for generating OpenAPI operation specification (using okapi)" readme = "README.md" keywords = [ "rust", "openapi", "swagger", "axum", ] categories = ["web-programming"] license = "MIT" repository = "https://github.com/Flowneee/okapi-operation" [package.metadata.docs.rs] all-features = true [dependencies.anyhow] version = "1" [dependencies.axum] version = "0.7" optional = true [dependencies.bytes] version = "1.4" [dependencies.http] version = "1" [dependencies.indexmap] version = "2.2.6" [dependencies.mime] version = "0.3" [dependencies.okapi] version = "0.7.0-rc.1" features = ["preserve_order"] [dependencies.okapi-operation-macro] version = "0.2" optional = true [dependencies.paste] version = "1" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_yaml] version = "0.8" optional = true [dependencies.tower] version = "0.4" optional = true default-features = false [dev-dependencies.axum] version = "0.7" [dev-dependencies.axum-extra] version = "0.9" features = ["typed-header"] [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.tokio] version = "1" features = ["full"] [features] axum = [ "dep:axum", "paste", "tower", "okapi-operation-macro/axum", ] axum-integration = ["axum"] default = ["macro"] macro = ["okapi-operation-macro"] yaml = ["serde_yaml"]