zino-http 0.16.0

HTTP requests and responses for zino.
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.90"
name = "zino-http"
version = "0.16.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP requests and responses for zino."
homepage = "https://github.com/zino-rs/zino"
documentation = "https://docs.rs/zino-http"
readme = "README.md"
keywords = [
    "http",
    "web",
    "framework",
]
categories = [
    "asynchronous",
    "network-programming",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/zino-rs/zino"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "auth",
    "cookie",
    "i18n",
    "inertia",
    "jwt",
    "metrics",
    "view",
]
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
auth = ["zino-auth"]
cookie = [
    "dep:cookie",
    "reqwest/cookies",
    "zino-core/cookie",
]
debug = [
    "minijinja?/debug",
    "minijinja?/preserve_order",
    "serde_json/preserve_order",
    "tera?/preserve_order",
    "toml/preserve_order",
    "zino-core/debug",
]
http02 = ["dep:http02"]
i18n = [
    "dep:fluent",
    "dep:unic-langid",
    "zino-core/i18n",
]
inertia = []
jwt = [
    "dep:jwt-simple",
    "auth",
    "zino-auth/jwt",
]
metrics = [
    "dep:metrics",
    "zino-core/metrics",
]
view = [
    "dep:convert_case",
    "dep:minijinja",
]
view-minijinja = [
    "view",
    "dep:minijinja",
]
view-tera = [
    "view",
    "dep:tera",
]

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

[dependencies.bytes]
version = "1.12.1"

[dependencies.cfg-if]
version = "1.0.4"

[dependencies.convert_case]
version = "0.11.0"
optional = true

[dependencies.cookie]
version = "0.18.1"
optional = true

[dependencies.etag]
version = "4.0.0"

[dependencies.fluent]
version = "0.17.0"
optional = true

[dependencies.futures]
version = "0.3.34"

[dependencies.http]
version = "1.5.0"

[dependencies.http02]
version = "0.2.12"
optional = true
package = "http"

[dependencies.jwt-simple]
version = "0.13.0"
features = ["pure-rust"]
optional = true
default-features = false

[dependencies.metrics]
version = "0.24.6"
optional = true

[dependencies.mime_guess]
version = "2.0.5"

[dependencies.minijinja]
version = "2.24.0"
features = ["loader"]
optional = true

[dependencies.multer]
version = "3.1.0"
features = ["json"]

[dependencies.percent-encoding]
version = "2.3.2"

[dependencies.regex]
version = "1.13.1"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "blocking",
    "gzip",
    "json",
    "multipart",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.151"
features = ["raw_value"]

[dependencies.serde_qs]
version = "1.1.3"

[dependencies.smallvec]
version = "1.15.2"

[dependencies.tera]
version = "2.1.1"
features = ["glob_fs"]
optional = true

[dependencies.toml]
version = "1.1.4"
features = [
    "parse",
    "serde",
]
default-features = false

[dependencies.tracing]
version = "0.1.44"

[dependencies.unic-langid]
version = "0.9.6"
optional = true

[dependencies.url]
version = "2.5.8"

[dependencies.zino-auth]
version = "0.16.0"
optional = true

[dependencies.zino-channel]
version = "0.16.0"

[dependencies.zino-core]
version = "0.44.0"
features = ["http-client"]

[dependencies.zino-storage]
version = "0.16.0"
features = ["http-client"]

[dependencies.zmij]
version = "1.0.23"

[lints.clippy]
print_stdout = "warn"
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
unreachable_pub = "deny"
unsafe_code = "forbid"