char-circle 0.1.0

A circular buffer for strings and traits for in-place string transforms.
Documentation
  • Coverage
  • 100%
    43 out of 43 items documented2 out of 42 items with examples
  • Size
  • Source code size: 46.27 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.23 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • cbarrick/char-circle
    5 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • cbarrick

Char-circle

A circular buffer for strings and traits for in-place string transforms.

This crate provides two key types: the CharCircle struct and the StringTransform trait. The CharCircle is a circular buffer specialized for UTF-8 strings, and the StringTransform trait builds upon it to provide a character-oriented API for in-place string transformations. In short, StringTransform allows you to implement transformations as iterator adaptors, with copy-on-write optimizations in mind.

Documentation

https://docs.rs/char-circle

Usage

Char-circle is a pure Rust library. To use it, simply add it to your Cargo.toml:

[dependencies]
char-circle = "0.1.0"