Expand description
§openkeyv
Async Key-Value Store — A pluggable interface for KV stores in Rust.
§Quick Start
use openkeyv::store::memory::MemoryStore;
use openkeyv::protocol::AsyncKeyValue;
let store = MemoryStore::new();§Backends
| Backend | Feature | Description |
|---|---|---|
| Memory | default | In-memory DashMap |
| Disk | disk | Sled embedded DB |
| Redis | redis | Redis protocol |
| RocksDB | rocksdb | RocksDB embedded |
| Postgres | postgres | PostgreSQL via sqlx |
| MongoDB | mongodb | MongoDB |
| DynamoDB | dynamodb | AWS DynamoDB |
| S3 | s3 | AWS S3 |
| DuckDB | duckdb-store | DuckDB embedded |
| Memcached | memcached | Memcached |
| Valkey | valkey | Valkey (Redis-compatible) |
| Vault | vault | HashiCorp Vault |
| Keyring | keyring-store | OS keyring |
| Firestore | firestore-store | Google Firestore |
| OpenSearch | opensearch | OpenSearch |
Re-exports§
pub use entry::ManagedEntry;pub use error::Error;pub use error::Result;pub use protocol::AsyncCull;pub use protocol::AsyncDestroyCollection;pub use protocol::AsyncDestroyStore;pub use protocol::AsyncEnumerateCollections;pub use protocol::AsyncEnumerateKeys;pub use protocol::AsyncKeyValue;