Registry / database / bitcoinleveldb-comparator

bitcoinleveldb-comparator

JSON →
library0.1.19rscratesunverified

LevelDB-compatible bytewise comparator and key-shortening logic for arbitrary byte slices, providing Compare, FindShortestSeparator, and FindShortSuccessor traits plus a global BytewiseComparator implementation used in bitcoin-rs.

# Cargo.toml [dependencies] bitcoinleveldb-comparator = "0.1.19"
INSTALL
IMPORT
SIG · BITCOINLEVELDB-COM
B
bitcoinleveldb-comparator
databaserustv0.1.19
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.

BytewiseComparator
use bitcoinleveldb_comparator::BytewiseComparator;

Compare two byte slices using the BytewiseComparator.

use bitcoinleveldb_comparator::BytewiseComparator; fn main() { let comparator = BytewiseComparator; let a = b"apple"; let b = b"banana"; println!("{}", comparator.compare(a, b)); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.19latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
bitcoinleveldb-comparator — cargo add bitcoinleveldb-comparator · libregistry