openapi_type 0.5.1

OpenAPI type information for Rust structs and enums
Documentation
# -*- eval: (cargo-minor-mode 1) -*-

[workspace]
members = [".", "./derive"]

[workspace.package]
authors = ["Dominic Meiser <git@msrd0.de>"]
edition = "2021"
rust-version = "1.76"
license = "Apache-2.0"
repository = "https://codeberg.org/msrd0/openapi_type"

[package]
name = "openapi_type"
version = "0.5.1"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "OpenAPI type information for Rust structs and enums"
keywords = ["openapi", "type"]
license.workspace = true
repository.workspace = true
readme = "crates-io.md"
include = ["src/**/*", "LICENSE", "crates-io.md"]

[features]
chrono = ["chrono04"]
hashbrown = ["hashbrown016"]
indexmap = ["indexmap1"]
linked-hash-map = ["linked-hash-map05"]
time = ["time03"]
uuid = ["uuid08", "uuid1"]

[dependencies]
indexmap = "2.0"
openapi_type_derive = { path = "./derive", version = "0.4.6" }
openapiv3 = "=2.2.0"
serde_json = "1.0"

# optional dependencies / features
chrono04 = { package = "chrono", version = "0.4", default-features = false, optional = true }
hashbrown016 = { package = "hashbrown", version = "0.16", default-features = false, optional = true }
indexmap1 = { package = "indexmap", version = "1.0", optional = true }
linked-hash-map05 = { package = "linked-hash-map", version = "0.5", optional = true }
time03 = { package = "time", version = "0.3", features = ["serde-human-readable"], optional = true }
uuid08 = { package = "uuid", version = "0.8", optional = true }
uuid1 = { package = "uuid", version = "1", optional = true }

[dev-dependencies]
paste = "1.0"
pretty_assertions = "1.0"
serde = { version = "1.0.158", features = ["derive"] }
trybuild = "=1.0.116"