| Crates.io | text-buffer |
| lib.rs | text-buffer |
| version | 0.1.0 |
| created_at | 2024-02-21 05:08:25.633396+00 |
| updated_at | 2024-02-21 05:08:25.633396+00 |
| description | An implementation of a gap buffer |
| homepage | |
| repository | https://github.com/CeleritasCelery/rune |
| max_upload_size | |
| id | 1147542 |
| size | 87,711 |
An implementation of a gap buffer for use in rune.
Basic benchmarks located under /benches directory. Run with cargo bench
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 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.