#slice #spans

slicey

Ways to associate data with parts of a string

10 releases

0.1.9 Dec 11, 2024
0.1.8 Dec 10, 2024

#23 in #spans

Download history

310 downloads per month

MIT/Apache

13KB
310 lines

Slicey

Slicey provides two simple ways to associate data with parts of a string:

  • [struct@Spanned]: Represents data and a range.
  • [struct@Sliced]: Represents data, a range, and a source string.

See their documentation for more info.


Slicey

Slicey provides two simple ways to associate data with parts of a string:

  • Spanned: Represents data and a range.
  • Sliced: Represents data, a range, and a source string.

See their documentation for more info.

Dependencies

~135–530KB
~13K SLoC