Registry / database / state-db

state-db

JSON →
library0.1.0rscratesunverified

State database

# Cargo.toml [dependencies] state-db = "0.1.0"
INSTALL
IMPORT
SIG · STATE-DB
S
state-db
databaserustv0.1.0
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.

StateDb
use state_db::StateDb;

A simple key-value state database.

use state_db::StateDb; fn main() { let db = StateDb::new("/tmp/state.db").unwrap(); db.insert(b"key", b"value").unwrap(); println!("{:?}", db.get(b"key")); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Meta
1
OpenAI (training)
1
Resources
state-db — cargo add state-db · libregistry