# 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 = "poem-openapi-macro" version = "0.3.0" authors = ["zihan "] description = "The macro collections for extending the Poem OpenAPI." homepage = "https://github.com/ZihanType/poem-extensions" readme = "README.md" keywords = [ "poem", "open-api", "swagger", "macro", ] license = "MIT/Apache-2.0" repository = "https://github.com/ZihanType/poem-extensions" [lib] proc-macro = true [dependencies.darling] version = "0.14.1" optional = true default-features = false [dependencies.proc-macro2] version = "1.0.40" optional = true default-features = false [dependencies.quote] version = "1.0.20" optional = true default-features = false [dependencies.syn] version = "1.0.98" optional = true default-features = false [dependencies.thiserror] version = "1.0.31" optional = true default-features = false [features] default = ["uni_open_api"] error = [ "dep:thiserror", "dep:darling", "dep:syn", ] macros = [ "dep:proc-macro2", "dep:quote", "dep:syn", ] one_response = [ "dep:darling", "macros", "error", ] response = ["macros"] uni_open_api = ["macros"] uni_response = ["macros"]