NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #2164 most downloaded on crates.io
Newtypes for text offsets
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 2.5 years
Some releases are documented
notes for 2 of 4 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
6 releases · first in 2020
One column per quarter.
Nothing published for this version
* add TextRange::ordering method
TextRange::ordering methodthe carate is renamed to text-size from text_unit
text-size from text_unitTransition table:
TextUnit::of_char(c) ⟹ TextSize::of(c)TextUnit::of_str(s) ⟹ TextSize::of(s)TextUnit::from_usize(size) ⟹ TextSize::try_from(size).unwrap_or_else(|| panic!(_))unit.to_usize() ⟹ usize::from(size)TextRange::from_to(from, to) ⟹ TextRange::new(from, to)TextRange::offset_len(offset, size) ⟹ TextRange::from_len(offset, size)range.start() ⟹ range.start()range.end() ⟹ range.end()range.len() ⟹ range.len()range.is_empty() ⟹ range.is_empty()a.is_subrange(b) ⟹ b.contains_range(a)a.intersection(b) ⟹ a.intersect(b)a.extend_to(b) ⟹ a.cover(b)range.contains(offset) ⟹ range.contains(point)range.contains_inclusive(offset) ⟹ range.contains_inclusive(point)Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →