Registry / database / tari-storage

tari-storage

JSON →
library5.3.1rscratesunverified

A key-value store API for the Tari blockchain project.

# Cargo.toml [dependencies] tari_storage = "5.3.1"
INSTALL
IMPORT
SIG · TARI-STORAGE
T
tari-storage
databaserustv5.3.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.

KeyValueStore
use tari_storage::KeyValueStore;

Creates a key-value store, inserts and retrieves a value.

use tari_storage::KeyValueStore; fn main() -> Result<(), Box<dyn std::error::Error>> { let store = KeyValueStore::new("my_store")?; store.insert("key", "value")?; let val: String = store.get(&"key")?.unwrap(); println!("{}", val); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.3.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
16
Meta
2
OpenAI (training)
1
Resources
tari-storage — cargo add tari-storage · libregistry