Crates.io | char-circle |
lib.rs | char-circle |
version | 0.1.0 |
source | src |
created_at | 2019-04-09 23:57:29.409399 |
updated_at | 2019-04-10 00:03:01.92442 |
description | A circular buffer for strings and traits for in-place string transforms. |
homepage | https://github.com/cbarrick/char-circle |
repository | https://github.com/cbarrick/char-circle |
max_upload_size | |
id | 126907 |
size | 46,648 |
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.
Char-circle is a pure Rust library. To use it, simply add it to your Cargo.toml
:
[dependencies]
char-circle = "0.1.0"