# 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 = "2021"
name = "reflectapi"
version = "0.17.2-alpha.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ReflectAPI is a library for Rust code-first web service API declaration and corresponding clients code generation tools."
homepage = "https://github.com/thepartly/reflectapi"
documentation = "https://docs.rs/reflectapi"
readme = "README.md"
keywords = [
    "reflectapi",
    "codegen",
    "reflection",
    "restapi",
    "openapi",
]
categories = [
    "web-programming",
    "development-tools",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/thepartly/reflectapi"

[features]
axum = [
    "dep:axum",
    "builder",
]
builder = [
    "dep:serde_json",
    "dep:bytes",
    "dep:http",
    "dep:mime",
]
chrono = ["dep:chrono"]
chrono-tz = ["dep:chrono-tz"]
codegen = [
    "dep:anyhow",
    "dep:indexmap",
    "dep:check_keyword",
    "dep:serde_json",
]
default = ["glob"]
glob = ["reflectapi-schema/glob"]
indexmap = ["dep:indexmap"]
json = ["dep:serde_json"]
msgpack = [
    "dep:rmp-serde",
    "builder",
]
reqwest = ["dep:reqwest"]
reqwest-middleware = ["dep:reqwest-middleware"]
rt = [
    "dep:http",
    "dep:serde_json",
    "dep:bytes",
    "dep:url",
]
rt-sse = [
    "dep:sseer",
    "rt",
]
rust_decimal = ["dep:rust_decimal"]
url = ["dep:url"]
uuid = ["dep:uuid"]

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

[dependencies.anyhow]
version = "1.0.81"
optional = true

[dependencies.axum]
version = "0.8.1"
optional = true

[dependencies.bytes]
version = "1.5.0"
optional = true

[dependencies.check_keyword]
version = "0.2.0"
optional = true

[dependencies.chrono]
version = "0.4.37"
features = ["serde"]
optional = true

[dependencies.chrono-tz]
version = "0.10.4"
features = ["serde"]
optional = true

[dependencies.document-features]
version = "0.2"
optional = true

[dependencies.futures-util]
version = "0.3"

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

[dependencies.indexmap]
version = "2.2.6"
features = ["serde"]
optional = true

[dependencies.mime]
version = "0.3.17"
optional = true

[dependencies.reflectapi-derive]
version = "0.17.2-alpha.2"

[dependencies.reflectapi-schema]
version = "0.17.2-alpha.2"

[dependencies.reqwest]
version = "0.12"
features = ["stream"]
optional = true

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

[dependencies.rmp-serde]
version = "1.3.0"
optional = true

[dependencies.rust_decimal]
version = "1.35.0"
features = ["serde"]
optional = true

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

[dependencies.serde_json]
version = "1.0.114"
optional = true

[dependencies.sseer]
version = "0.1"
features = ["json"]
optional = true

[dependencies.url]
version = "2.5.0"
features = ["serde"]
optional = true

[dependencies.uuid]
version = "1.7.0"
features = ["serde"]
optional = true

[dev-dependencies.serde_json]
version = "1.0.114"

[lints.clippy]
dbg_macro = "deny"

[lints.rust]
rust_2018_idioms = "deny"
