[workspace] members = [ ".", "example_actix", "example_axum", ] [package] name = "swaggapi" description = "Auto-generated OpenAPI documentation" version = "0.2.2" edition = "2021" license = "MIT" authors = ["gammelalf"] repository = "https://github.com/gammelalf/swaggapi" [features] default = ["swagger-ui"] swagger-ui = ["dep:swagger-ui"] actix = ["dep:actix-web"] axum = ["dep:axum", "dep:bytes", "dep:tower"] actix-files = ["actix", "dep:actix-files"] [dependencies] swaggapi-macro = { version = "0.2.0", path = "./swaggapi-macro" } openapiv3 = "~2" indexmap = "~2" mime = "~0.3" schemars = "~0.8" log = "~0.4" serde = { version = "~1", features = ["rc"] } serde_json = "~1" swagger-ui = { version = "0.1.5", optional = true } actix-web = { version = "~4", optional = true } actix-files = { version = "~0.6", optional = true } axum = { version = "~0.7", optional = true } bytes = { version = "~1", optional = true } tower = { version = "~0.4", optional = true }