secra-memory 0.1.1

A unified memory cache management library for plugin systems, built on top of moka
Documentation
[package]
name = "secra-memory"
version = "0.1.1"
edition = "2021"
authors = ["Secra Team"]
description = "A unified memory cache management library for plugin systems, built on top of moka"
license = "MIT OR Apache-2.0"
keywords = ["cache", "memory", "plugin", "moka", "async"]
categories = ["caching", "asynchronous", "concurrency"]
readme = "README.md"
documentation = "https://docs.rs/secra-memory"

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

[dependencies]
# 异步 trait 支持
async-trait = "0.1"

# 内存缓存库
moka = { version = "0.12", features = ["future"] }

# 异步运行时
tokio = { version = "1", features = ["rt", "sync", "macros"] }

# 序列化/反序列化
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

# 日志记录
tracing = "0.1"

# 随机数生成
rand = "0.8"

# 并发安全的 HashMap(性能优化)
dashmap = "5.5"

# 异步工具
futures = "0.3"