Skip to main content

Crate openkeyv

Crate openkeyv 

Source
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

BackendFeatureDescription
MemorydefaultIn-memory DashMap
DiskdiskSled embedded DB
RedisredisRedis protocol
RocksDBrocksdbRocksDB embedded
PostgrespostgresPostgreSQL via sqlx
MongoDBmongodbMongoDB
DynamoDBdynamodbAWS DynamoDB
S3s3AWS S3
DuckDBduckdb-storeDuckDB embedded
MemcachedmemcachedMemcached
ValkeyvalkeyValkey (Redis-compatible)
VaultvaultHashiCorp Vault
Keyringkeyring-storeOS keyring
Firestorefirestore-storeGoogle Firestore
OpenSearchopensearchOpenSearch

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;

Modules§

adapter
entry
error
protocol
store
utils
wrapper