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
63,914 downloads per month
Used in 85 crates
(4 directly)
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.
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