openapi-to-rust 0.7.0

Generate typed Rust models, HTTP/SSE clients, and Axum servers from OpenAPI 3.0/3.1 (experimental 3.2)
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.88.0"
name = "openapi-to-rust"
version = "0.7.0"
authors = ["James Lal"]
build = false
include = [
    "/src/**",
    "/Cargo.toml",
    "/README.md",
    "/CHANGELOG.md",
    "/CONTRIBUTING.md",
    "/CODE_OF_CONDUCT.md",
    "/SECURITY.md",
    "/SUPPORT.md",
    "/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "openapi-to-rust"
description = "Generate typed Rust models, HTTP/SSE clients, and Axum servers from OpenAPI 3.0/3.1 (experimental 3.2)"
homepage = "https://openapi-to-rust.dev"
readme = "README.md"
keywords = [
    "openapi",
    "rust",
    "sdk-generator",
    "api-client",
    "axum",
]
categories = [
    "development-tools",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/gpu-cli/openapi-to-rust"

[features]
default = []
internal-tools = []
specta = ["dep:specta"]
test-helpers = [
    "dep:insta",
    "dep:tempfile",
]

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

[[bin]]
name = "openapi-to-rust"
path = "src/bin/openapi-to-rust.rs"

[[bin]]
name = "catalog-gen"
path = "src/bin/catalog-gen.rs"
required-features = ["internal-tools"]

[[bin]]
name = "file-beads"
path = "src/bin/file-beads.rs"
required-features = ["internal-tools"]

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.heck]
version = "0.5"

[dependencies.insta]
version = "1.41"
features = ["yaml"]
optional = true

[dependencies.once_cell]
version = "1.19"

[dependencies.prettyplease]
version = "0.2"

[dependencies.proc-macro2]
version = "1.0"

[dependencies.quote]
version = "1.0"

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.specta]
version = "2.0.0-rc"
features = ["derive"]
optional = true

[dependencies.syn]
version = "2.0"
features = ["parsing"]

[dependencies.tempfile]
version = "3.0"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.toml]
version = "0.8"

[dependencies.toml_edit]
version = "0.22"

[dev-dependencies.insta]
version = "1.41"
features = ["yaml"]

[dev-dependencies.serde_yaml]
version = "0.9"

[dev-dependencies.tempfile]
version = "3.0"

[lints.clippy]
collapsible_if = "allow"
expect_used = "warn"
unwrap_used = "deny"