94 releases (7 breaking)

Uses new Rust 2024

new 0.31.0-alpha.1 Mar 10, 2026
0.30.0 Feb 25, 2026
0.28.1 Dec 19, 2025
0.28.0-alpha.0 Nov 21, 2025
0.24.0 Jul 17, 2025

#1307 in Rust patterns

Download history 4825/week @ 2025-11-19 5175/week @ 2025-11-26 6778/week @ 2025-12-03 8522/week @ 2025-12-10 6334/week @ 2025-12-17 2810/week @ 2025-12-24 4842/week @ 2025-12-31 8261/week @ 2026-01-07 8061/week @ 2026-01-14 10299/week @ 2026-01-21 9764/week @ 2026-01-28 9318/week @ 2026-02-04 9667/week @ 2026-02-11 11560/week @ 2026-02-18 17273/week @ 2026-02-25 22939/week @ 2026-03-04

63,914 downloads per month
Used in 85 crates (4 directly)

MIT/Apache

11KB
56 lines

An integer range that always has a non-negative length.

The standard std::ops::Range can have start > end Taking a Range by argument thus means the callee must check for this eventuality and return an error.

In contrast, Span always has a non-negative length, i.e. len >= 0.


re_span

Part of the rerun family of crates.

Latest version Documentation MIT Apache

An integer range that always has a non-negative length.

The standard std::ops::Range can have start > end. Taking a Range by argument thus means the callee must check for this eventuality and return an error.

In contrast, Span always has a non-negative length, i.e. len >= 0.

Dependencies

~140KB