Registry / utility / compare

compare

JSON →
library0.1.0rscratesunverified

Experimental comparators for collections to be generic over

# Cargo.toml [dependencies] compare = "0.1.0"
INSTALL
IMPORT
SIG · COMPARE
C
compare
utilityrustv0.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.

Compare
use compare::Compare;

Use a natural comparator for integers

use compare::Compare; fn main() { let cmp = compare::natural(); println!("{}", cmp.compare(&5, &3)); }
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
7 hits · last 30 days
node
6
Amazon
1
Resources
compare — cargo add compare · libregistry