text-buffer

Crates.iotext-buffer
lib.rstext-buffer
version0.1.0
sourcesrc
created_at2024-02-21 05:08:25.633396
updated_at2024-02-21 05:08:25.633396
descriptionAn implementation of a gap buffer
homepage
repositoryhttps://github.com/CeleritasCelery/rune
max_upload_size
id1147542
size87,711
Troy Hinckley (CeleritasCelery)

documentation

README

Text Buffer

An implementation of a gap buffer for use in rune.

benchmarks

Basic benchmarks located under /benches directory. Run with cargo bench

fuzzing

Fuzzer located at fuzz/fuzz_targets/fuzz_buffers.rs. After installing cargo fuzz, run with cargo +nightly fuzz run fuzz_buffers. Note that the same file has a function create_repo to automatically create a reproduction test of the fuzzer output. Add these to the unit tests.

reference tests

Reference tests are located at reference-tests/src/main.rs. Change to that directory and run with cargo test. These are a set of editing traces developed by the author of jumprope-rs.

If failures are encountered, you can run against the reference javascript implementation to get the exact failing change with reference-tests/run.py.

Commit count: 0

cargo fmt