rustapi-core 0.1.201

The core engine of the RustAPI framework. Provides the hyper-based HTTP server, router, extraction logic, and foundational traits.
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"
name = "rustapi-core"
version = "0.1.201"
authors = ["RustAPI Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The core engine of the RustAPI framework. Provides the hyper-based HTTP server, router, extraction logic, and foundational traits."
homepage = "https://github.com/Tuntii/RustAPI"
documentation = "https://docs.rs/rustapi-core"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Tuntii/RustAPI"

[features]
compression = ["dep:flate2"]
compression-brotli = [
    "compression",
    "dep:brotli",
]
cookies = ["dep:cookie"]
default = [
    "swagger-ui",
    "tracing",
]
http3 = [
    "dep:quinn",
    "dep:h3",
    "dep:h3-quinn",
    "dep:rustls",
    "dep:rustls-pemfile",
]
http3-dev = [
    "http3",
    "dep:rcgen",
]
metrics = ["dep:prometheus"]
simd-json = ["dep:simd-json"]
sqlx = ["dep:sqlx"]
swagger-ui = ["rustapi-openapi/swagger-ui"]
test-utils = []
tracing = []

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

[[test]]
name = "response_streaming"
path = "tests/response_streaming.rs"

[[test]]
name = "status_page"
path = "tests/status_page.rs"

[[test]]
name = "streaming_test"
path = "tests/streaming_test.rs"

[dependencies.base64]
version = "0.22"

[dependencies.brotli]
version = "6.0"
optional = true

[dependencies.bytes]
version = "1.5"

[dependencies.chrono]
version = "0.4.43"

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

[dependencies.flate2]
version = "1.0"
optional = true

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

[dependencies.h3]
version = "0.0.8"
optional = true

[dependencies.h3-quinn]
version = "0.0.10"
optional = true

[dependencies.http]
version = "1.0"

[dependencies.http-body]
version = "1.0.1"

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

[dependencies.hyper]
version = "1.1"
features = ["full"]

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

[dependencies.inventory]
version = "0.3"

[dependencies.linkme]
version = "0.3"

[dependencies.matchit]
version = "0.7"

[dependencies.pin-project-lite]
version = "0.2"

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

[dependencies.quinn]
version = "0.11"
optional = true

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

[dependencies.rustapi-openapi]
version = "0.1.188"
default-features = false

[dependencies.rustapi-validate]
version = "0.1.188"

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

[dependencies.rustls-pemfile]
version = "2.2"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.simd-json]
version = "0.14"
optional = true

[dependencies.smallvec]
version = "1.13"

[dependencies.sqlx]
version = "0.8"
optional = true
default-features = false

[dependencies.thiserror]
version = "1.0"

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

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

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

[dependencies.tower-service]
version = "0.3"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1.6"
features = ["v4"]

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

[dev-dependencies.async-stream]
version = "0.3"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
]

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