ngdp-cache 0.4.3

Transparent caching layer with TTL support for all NGDP operations
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.86"
name = "ngdp-cache"
version = "0.4.3"
authors = ["Daniel S. Reichenbach <daniel@kogit.network>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transparent caching layer with TTL support for all NGDP operations"
homepage = "https://github.com/wowemulation-dev/cascette-rs"
readme = "README.md"
keywords = [
    "ngdp",
    "cache",
    "blizzard",
    "tact",
    "cdn",
]
categories = [
    "caching",
    "filesystem",
    "games",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wowemulation-dev/cascette-rs"
resolver = "2"

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

[[example]]
name = "01_basic_cache_types"
path = "examples/01_basic_cache_types.rs"

[[example]]
name = "cached_cdn_client"
path = "examples/cached_cdn_client.rs"

[[example]]
name = "cached_ribbit_client"
path = "examples/cached_ribbit_client.rs"

[[example]]
name = "cached_tact_client"
path = "examples/cached_tact_client.rs"

[[example]]
name = "cdn_cache_structure"
path = "examples/cdn_cache_structure.rs"

[[example]]
name = "cdn_helper_methods"
path = "examples/cdn_helper_methods.rs"

[[example]]
name = "cdn_path_example"
path = "examples/cdn_path_example.rs"

[[example]]
name = "drop_in_replacement"
path = "examples/drop_in_replacement.rs"

[[example]]
name = "full_ngdp_pipeline"
path = "examples/full_ngdp_pipeline.rs"

[[example]]
name = "ribbit_cdn_download"
path = "examples/ribbit_cdn_download.rs"

[[example]]
name = "streaming_demo"
path = "examples/streaming_demo.rs"

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

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

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

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1.10.1"

[dependencies.dirs]
version = "6.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.ngdp-cdn]
version = "0.4.3"

[dependencies.parking_lot]
version = "0.12"

[dependencies.reqwest]
version = "0.12.22"
features = ["rustls-tls"]
default-features = false

[dependencies.ribbit-client]
version = "0.4.3"

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

[dependencies.serde_json]
version = "1.0.142"

[dependencies.tact-client]
version = "0.4.3"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.47"
features = [
    "fs",
    "io-util",
]

[dependencies.tracing]
version = "0.1"

[dependencies.walkdir]
version = "2.5.0"

[dev-dependencies.criterion]
version = "0.7"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.serial_test]
version = "3.1"

[dev-dependencies.tempfile]
version = "3.20"

[dev-dependencies.tokio]
version = "1.47"
features = [
    "full",
    "test-util",
]

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

[dev-dependencies.wiremock]
version = "0.6.4"