openapi-to-rust 0.5.3

Generate strongly-typed Rust structs, HTTP clients, and SSE streaming clients from OpenAPI 3.1 specifications
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.0"
name = "openapi-to-rust"
version = "0.5.3"
authors = ["James Lal"]
build = false
include = [
    "/src/**",
    "/Cargo.toml",
    "/README.md",
    "/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate strongly-typed Rust structs, HTTP clients, and SSE streaming clients from OpenAPI 3.1 specifications"
homepage = "https://github.com/gpu-cli/openapi-to-rust"
readme = "README.md"
keywords = [
    "openapi",
    "codegen",
    "rust",
    "sse",
    "api-client",
]
categories = [
    "development-tools",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/gpu-cli/openapi-to-rust"

[features]
specta = ["dep:specta"]

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

[[bin]]
name = "catalog-gen"
path = "src/bin/catalog-gen.rs"

[[bin]]
name = "file-beads"
path = "src/bin/file-beads.rs"

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

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

[dependencies.heck]
version = "0.5"

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

[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.11"
features = [
    "json",
    "blocking",
    "stream",
]

[dependencies.reqwest-middleware]
version = "0.4"

[dependencies.reqwest-retry]
version = "0.7"

[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"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.toml_edit]
version = "0.22"

[dependencies.url]
version = "2.5"

[dependencies.validator]
version = "0.20"
features = ["derive"]

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

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

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