hitbox-core 0.2.0

Asynchronous caching framework core 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 = "2024"
rust-version = "1.91.1"
name = "hitbox-core"
version = "0.2.0"
authors = ["Hitbox team <mail@hitbox.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Asynchronous caching framework core traits."
readme = "README.md"
keywords = [
    "cache",
    "async",
    "cache-backend",
    "hitbox",
    "tokio",
]
categories = [
    "caching",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/hit-box/hitbox/"
resolver = "2"

[features]
default = []
rkyv_format = ["dep:rkyv"]

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

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

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

[dependencies.bitcode]
version = "0.6"
features = [
    "serde",
    "derive",
]

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

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

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

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

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

[dependencies.smallbox]
version = "0.8"

[dependencies.smol_str]
version = "0.3"
features = ["serde"]

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