numeric-range 0.1.1

Parse and format compact integer-range strings like "1,3-5,7" (page ranges, CPU sets, line selections). Bidirectional, zero-dependency, no_std.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Changelog

All notable changes to this project are documented here. The format is based on
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.0] - 2026-06-21

### Added

- Initial release.
- `parse` — expand a compact range string (`"1,3-5,7"`) into `Vec<u64>`.
- `format` — collapse integers into a compact range string (sorted, de-duplicated).
- `ParseError` for empty parts, invalid numbers, malformed ranges, and descending ranges.
- `#![no_std]` support (requires `alloc`); zero dependencies.

[0.1.0]: https://github.com/trananhtung/numeric-range/releases/tag/v0.1.0