hitbox 0.2.0

Asynchronous caching framework.
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"
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."
readme = "README.md"
keywords = [
    "cache",
    "async",
    "cache-backend",
    "hitbox",
    "tokio",
]
categories = [
    "caching",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/hit-box/hitbox/"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
metrics = [
    "dep:metrics",
    "lazy_static",
    "hitbox-backend/metrics",
]
rkyv_format = [
    "hitbox-core/rkyv_format",
    "hitbox-backend/rkyv_format",
]

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

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

[dependencies.bounded-integer]
version = "0.6"
features = [
    "macro",
    "serde1",
]

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

[dependencies.dashmap]
version = "6"

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

[dependencies.hitbox-backend]
version = "0.2"

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

[dependencies.humantime-serde]
version = "1"

[dependencies.lazy_static]
version = "1"
optional = true

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

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

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

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "time",
]
default-features = false

[dependencies.tracing]
version = "0.1"
default-features = false

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

[dev-dependencies.lazy_static]
version = "1"

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