Registry / utility / rust-lapper

rust-lapper

JSON →
library1.2.0rscratesunverified

A fast and easy interval overlap library.

# Cargo.toml [dependencies] rust-lapper = "1.2.0"
INSTALL
IMPORT
SIG · RUST-LAPPER
R
rust-lapper
utilityrustv1.2.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.

Lapper
use rust_lapper::Lapper;

Create a Lapper from intervals and query overlaps.

use rust_lapper::Lapper; fn main() { let intervals = vec![(0, 10, "a"), (5, 15, "b")]; let lapper = Lapper::new(intervals); let overlaps = lapper.find(3, 8); println!("Found {} overlaps", overlaps.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
rust-lapper — cargo add rust-lapper · libregistry