otherone-storage 0.5.0

存储层 — 支持本地文件、PostgreSQL、MySQL、MongoDB、Redis 多种存储方式
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 = "2021"
name = "otherone-storage"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "存储层 — 支持本地文件、PostgreSQL、MySQL、MongoDB、Redis 多种存储方式"
documentation = "https://docs.rs/otherone-storage"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "storage",
]
categories = [
    "database",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/wuyoujae/otherone-agent"

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

[dependencies.aes-gcm]
version = "0.10"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

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

[dependencies.futures]
version = "0.3"

[dependencies.mongodb]
version = "3"

[dependencies.rand]
version = "0.8"

[dependencies.redis]
version = "0.27"
features = [
    "tokio-comp",
    "connection-manager",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "mysql",
    "uuid",
    "chrono",
]

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

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