Registry / database / pickledb

pickledb

JSON →
library0.5.1rscratesunverified

A lightweight and simple key-value store inspired by Python's PickleDB.

# Cargo.toml [dependencies] pickledb = "0.5.1"
INSTALL
IMPORT
SIG · PICKLEDB
P
pickledb
databaserustv0.5.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PickleDb
use pickledb::PickleDb;

Creates a new PickleDB database, sets a key-value pair, and retrieves it.

use pickledb::PickleDb; fn main() { let mut db = PickleDb::new("test.db", pickledb::PickleDbDumpPolicy::AutoDump); db.set("key", &"value").unwrap(); println!("{:?}", db.get::<String>("key")); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
pickledb — cargo add pickledb · libregistry