do-memory-storage-redb 0.1.31

redb embedded storage backend for do-memory-core episodic learning system (cache layer)
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"
name = "do-memory-storage-redb"
version = "0.1.31"
authors = ["Self-Learning Memory Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "redb embedded storage backend for do-memory-core episodic learning system (cache layer)"
homepage = "https://github.com/d-o-hub/rust-self-learning-memory"
documentation = "https://docs.rs/do-memory-storage-redb"
readme = "README.md"
keywords = [
    "redb",
    "storage",
    "cache",
    "embedded-db",
    "ai-memory",
]
categories = [
    "database",
    "caching",
]
license = "MIT"
repository = "https://github.com/d-o-hub/rust-self-learning-memory"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.102"

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

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.do-memory-core]
version = "0.1.31"

[dependencies.lz4_flex]
version = "0.13"
default-features = false

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.postcard]
version = "1.1.3"
features = ["alloc"]
default-features = false

[dependencies.redb]
version = "4.0"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1.0.149"

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

[dependencies.tracing]
version = "0.1.44"

[dependencies.uuid]
version = "1.23"
features = [
    "v4",
    "serde",
]

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

[dev-dependencies.serde_json]
version = "1.0.149"

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

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

[lints.clippy.correctness]
level = "deny"
priority = 0

[lints.clippy.unwrap_used]
level = "warn"
priority = 0

[lints.rust]
unsafe_code = "deny"