# 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 = "swaggapi" version = "0.2.2" authors = ["gammelalf"] description = "Auto-generated OpenAPI documentation" license = "MIT" repository = "https://github.com/gammelalf/swaggapi" [dependencies.actix-files] version = "~0.6" optional = true [dependencies.actix-web] version = "~4" optional = true [dependencies.axum] version = "~0.7" optional = true [dependencies.bytes] version = "~1" optional = true [dependencies.indexmap] version = "~2" [dependencies.log] version = "~0.4" [dependencies.mime] version = "~0.3" [dependencies.openapiv3] version = "~2" [dependencies.schemars] version = "~0.8" [dependencies.serde] version = "~1" features = ["rc"] [dependencies.serde_json] version = "~1" [dependencies.swaggapi-macro] version = "0.2.0" [dependencies.swagger-ui] version = "0.1.5" optional = true [dependencies.tower] version = "~0.4" optional = true [features] actix = ["dep:actix-web"] actix-files = [ "actix", "dep:actix-files", ] axum = [ "dep:axum", "dep:bytes", "dep:tower", ] default = ["swagger-ui"] swagger-ui = ["dep:swagger-ui"]