char-circle

Crates.iochar-circle
lib.rschar-circle
version0.1.0
sourcesrc
created_at2019-04-09 23:57:29.409399
updated_at2019-04-10 00:03:01.92442
descriptionA circular buffer for strings and traits for in-place string transforms.
homepagehttps://github.com/cbarrick/char-circle
repositoryhttps://github.com/cbarrick/char-circle
max_upload_size
id126907
size46,648
Chris Barrick (cbarrick)

documentation

https://docs.rs/char-circle

README

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"
Commit count: 4

cargo fmt