Registry / database / nimiq-database

nimiq-database

JSON →
library1.2.2rscratesunverified

A LMDB database wrapper with support for volatile storage.

# Cargo.toml [dependencies] nimiq-database = "1.2.2"
INSTALL
IMPORT
SIG · NIMIQ-DATABASE
N
nimiq-database
databaserustv1.2.2
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.

Database
use nimiq_database::Database;

Open an LMDB database with the Nimiq wrapper.

use nimiq_database::Database; fn main() -> Result<(), Box<dyn std::error::Error>> { let db = Database::open("mydb")?; println!("Database opened successfully"); Ok(()) }
Debug
Known issues
gotchaLMDB requires proper file system permissions and may have concurrency limitations.
fix
Ensure the database directory is writable and consider using volatile storage for temporary data.
affects: >=1.0.0
Upgrade
Version history
1.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Resources
nimiq-database — cargo add nimiq-database · libregistry