#spans #slice

slicey

Ways to associate data with parts of a string

10 releases

new 0.1.9 Dec 11, 2024
0.1.8 Dec 10, 2024

#7 in #span

Download history 1230/week @ 2024-12-08

1,230 downloads per month

MIT/Apache

13KB
310 lines

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.


lib.rs:

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.

Dependencies

~235–680KB
~16K SLoC