perl-text-line 0.12.2

Text-line cursor and boundary helpers
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented0 out of 4 items with examples
  • Size
  • Source code size: 23.35 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 38s Average build duration of successful builds.
  • all releases: 25s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • EffortlessMetrics/perl-lsp
    10 6 645
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • EffortlessSteven

perl-text-line

perl-text-line provides single-line text helpers used by Perl parser/LSP workflows:

  • locate the line bounds for a byte cursor in UTF-8 source text
  • compute identifier-character boundaries for simple scanner checks
  • skip contiguous ASCII whitespace while scanning within a line

The crate is intentionally tiny and side-effect free so it can be reused by feature crates with strict boundaries.