sz-rust-http-facade 0.6.7

HTTP facade for sz-rust framework — response, error, and request primitives
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 = "2021"
rust-version = "1.81"
name = "sz-rust-http-facade"
version = "0.6.7"
authors = ["SZ-Rust Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP facade for sz-rust framework — response, error, and request primitives"
homepage = "https://github.com/ljclz/sz-rust"
readme = "README.md"
keywords = [
    "http",
    "axum",
    "web",
    "thinkphp",
]
categories = ["web-programming"]
license = "MIT"
repository = "https://github.com/ljclz/sz-rust"

[features]
default = []
graphql = [
    "dep:async-graphql",
    "dep:async-graphql-axum",
]
grpc = [
    "dep:tonic",
    "dep:prost",
]
swagger-ui = ["dep:utoipa-swagger-ui"]

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

[dependencies.async-graphql]
version = "7"
optional = true

[dependencies.async-graphql-axum]
version = "7"
optional = true

[dependencies.axum]
version = "0.8"
features = [
    "macros",
    "multipart",
    "ws",
    "http2",
]

[dependencies.bytes]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

[dependencies.prost]
version = "0.13"
optional = true

[dependencies.regex]
version = "1"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "logging",
]
default-features = false

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.40"
features = [
    "full",
    "net",
]

[dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
default-features = false

[dependencies.tonic]
version = "0.12"
optional = true

[dependencies.tower]
version = "0.5"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.utoipa]
version = "5"

[dependencies.utoipa-swagger-ui]
version = "8"
optional = true

[dev-dependencies.tokio]
version = "1.40"
features = [
    "full",
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tower]
version = "0.5"
features = [
    "full",
    "util",
]

[lints.rust]
unsafe_code = "forbid"