[package]
edition = "2021"
rust-version = "1.75"
name = "openapi-trait"
version = "0.0.1"
authors = ["ndrsg <26137827+ndrsg@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate typed Rust traits from OpenAPI specifications using a proc-macro attribute"
documentation = "https://docs.rs/openapi-trait"
readme = "README.md"
keywords = [
"openapi",
"codegen",
"proc-macro",
"axum",
"rest-api",
]
categories = [
"api-bindings",
"development-tools::procedural-macro-helpers",
"web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/ndrsg/openapi-trait"
[lib]
name = "openapi_trait"
path = "src/lib.rs"
[[test]]
name = "petstore"
path = "tests/petstore.rs"
[dependencies.openapi-trait-axum]
version = "0.0.1"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[lints.clippy]
all = "deny"
missing_docs_in_private_items = "deny"
nursery = "deny"
pedantic = "deny"
[lints.clippy.cargo]
level = "deny"
priority = 0
[lints.clippy.cargo_common_metadata]
level = "allow"
priority = 1
[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1
[lints.rust]
missing_debug_implementations = "deny"
missing_docs = "deny"
[lints.rustdoc]
all = "deny"
broken_intra_doc_links = "deny"
private_intra_doc_links = "allow"