kynos-openapi 0.3.0

OpenAPI 3.1 and 3.2 document model, serialization and validation.
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "kynos-openapi"
version = "0.3.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenAPI 3.1 and 3.2 document model, serialization and validation."
readme = "README.md"
keywords = [
    "openapi",
    "oas",
    "json-schema",
    "schema",
    "rest",
]
categories = [
    "web-programming",
    "data-structures",
    "encoding",
]
license = "MIT"
repository = "https://github.com/getkono/kynos"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["openapi31"]
http = ["dep:http"]
openapi31 = []
openapi32 = ["openapi31"]
yaml = ["dep:serde_yaml_ng"]

[lib]
name = "kynos_openapi"
path = "src/lib.rs"

[[example]]
name = "standalone"
path = "examples/standalone.rs"
required-features = [
    "openapi32",
    "yaml",
]

[[test]]
name = "alloc"
path = "tests/alloc.rs"

[[test]]
name = "properties"
path = "tests/properties.rs"

[[test]]
name = "size"
path = "tests/size.rs"

[[test]]
name = "templates"
path = "tests/templates.rs"

[[test]]
name = "wire"
path = "tests/wire.rs"

[dependencies.http]
version = "1.3.1"
optional = true

[dependencies.indexmap]
version = "2.11.0"
features = ["serde"]

[dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.145"

[dependencies.serde_yaml_ng]
version = "0.10.0"
optional = true

[dependencies.thiserror]
version = "2.0.19"

[dev-dependencies.alloc_counter]
version = "0.0.4"
features = ["std"]
default-features = false

[dev-dependencies.proptest]
version = "1.11.0"

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1