[package] name = "hypers_openapi" version.workspace = true edition.workspace = true rust-version.workspace = true description = "Compile time generated OpenAPI documentation for hypers" keywords = ["openapi", "rest-api", "web", "hypers", "documentation"] categories = ["web-programming"] license = "Apache-2.0" readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] debug = [] chrono = ["dep:chrono", "hypers_openapi_macro/chrono"] decimal = ["dep:rust_decimal", "hypers_openapi_macro/decimal"] decimal-float = ["dep:rust_decimal", "hypers_openapi_macro/decimal-float"] url = ["hypers_openapi_macro/url"] ulid = ["dep:ulid", "hypers_openapi_macro/ulid"] uuid = ["dep:uuid", "hypers_openapi_macro/uuid"] time = ["dep:time", "hypers_openapi_macro/time"] smallvec = ["dep:smallvec", "hypers_openapi_macro/smallvec"] yaml = ["dep:serde_yaml"] full = ["chrono", "decimal", "url", "ulid", "uuid", "time", "smallvec", "yaml"] [package.metadata.docs.rs] all-features = true [package.metadata.playground] all-features = true [dependencies] hypers_openapi_macro = { workspace = true } hypers_core = { workspace = true, features = ["cookie"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } rust-embed = { workspace = true } mime_guess = { workspace = true } chrono = { workspace = true, optional = true } rust_decimal = { workspace = true, optional = true } url = { workspace = true, optional = false } ulid = { workspace = true, optional = true } uuid = { workspace = true, optional = true } time = { workspace = true, optional = true } smallvec = { workspace = true, optional = true } serde_yaml = { workspace = true, optional = true } [dev-dependencies] assert-json-diff = "=2.0.2"