Registry / utility / rangemap

rangemap

JSON →
library1.7.1rscratesunverified

Map and set data structures whose keys are stored as ranges, with coalescing of contiguous and overlapping ranges.

# Cargo.toml [dependencies] rangemap = "1.7.1"
INSTALL
IMPORT
SIG · RANGEMAP
R
rangemap
utilityrustv1.7.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.

RangeMap
use rangemap::RangeMap;

Creates a RangeMap and inserts two non-overlapping ranges.

use rangemap::RangeMap; fn main() { let mut map = RangeMap::new(); map.insert(0..5, 'a'); map.insert(5..10, 'b'); println!("{:?}", map); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.7.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
rangemap — cargo add rangemap · libregistry