Registry / database / parity-db

parity-db

JSON →
library0.5.4rscratesunverified

Key-value database optimized for blockchain storage with low overhead.

# Cargo.toml [dependencies] parity-db = "0.5.4"
INSTALL
IMPORT
SIG · PARITY-DB
P
parity-db
databaserustv0.5.4
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.

Db
use parity_db::Db;

Opens a database and inserts a key-value pair.

use parity_db::Db; fn main() { let mut db = Db::with_columns("path", 1).unwrap(); db.put(0, b"key", b"value").unwrap(); println!("Stored key-value"); }
Debug
Known issues
breakingDatabase format may change between versions; data migration required.
fix
Check changelog and use migration tools if upgrading.
affects: >=0.5.0
Upgrade
Version history
0.5.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Resources
parity-db — cargo add parity-db · libregistry