hitbox-http 0.2.0

Cacheable HTTP Request and Response
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.91.1"
name = "hitbox-http"
version = "0.2.0"
authors = ["Hitbox team <mail@hitbox.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cacheable HTTP Request and Response"
readme = "README.md"
keywords = [
    "cache",
    "async",
    "http",
    "hitbox",
]
categories = [
    "caching",
    "asynchronous",
    "web-programming",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/hit-box/hitbox/"
resolver = "2"

[features]
default = []
rkyv_format = [
    "dep:rkyv",
    "hitbox/rkyv_format",
    "hitbox-backend/rkyv_format",
]

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

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

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

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

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

[[bench]]
name = "predicate_performance"
path = "benches/predicate_performance.rs"
harness = false

[dependencies.actix-router]
version = "0.5"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]
default-features = false

[dependencies.futures]
version = "0.3"
default-features = false

[dependencies.hex]
version = "0.4"

[dependencies.hitbox]
version = "0.2"

[dependencies.hitbox-backend]
version = "0.2"
default-features = false

[dependencies.http]
version = "1.3"

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

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

[dependencies.http-serde]
version = "2.1.1"

[dependencies.hyper]
version = "1.6"
default-features = false

[dependencies.jaq-core]
version = "2.1.0"

[dependencies.jaq-json]
version = "1.1.0"
features = ["serde_json"]

[dependencies.jaq-std]
version = "2.1.0"

[dependencies.pin-project]
version = "1"

[dependencies.prost]
version = "0.14"

[dependencies.prost-reflect]
version = "0.16"
features = [
    "serde",
    "derive",
]

[dependencies.protox]
version = "0.9"

[dependencies.regex]
version = "1"

[dependencies.rkyv]
version = "0.8"
features = [
    "bytecheck",
    "alloc",
    "bytes-1",
]
optional = true

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

[dependencies.serde_bytes]
version = "0.11"

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

[dependencies.serde_qs]
version = "0.15"

[dependencies.sha2]
version = "0.10"

[dev-dependencies.bincode]
version = "2"
features = ["serde"]

[dev-dependencies.criterion]
version = "0.8"
features = [
    "html_reports",
    "async_tokio",
]

[dev-dependencies.hitbox-core]
version = "0.2"

[dev-dependencies.rkyv]
version = "0.8"
features = [
    "bytecheck",
    "alloc",
    "bytes-1",
]

[dev-dependencies.ron]
version = "0.12.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "test-util",
    "macros",
    "rt-multi-thread",
]
default-features = false