tree: b282b3cc8fd3f6798894db129959ce89c6922071 [path history] [tgz]
  1. benches/
  2. examples/
  3. src/
  4. .android-checksum.json
  5. .cargo-checksum.json
  6. Android.bp
  7. Cargo.lock
  8. Cargo.toml
  9. cargo_embargo.json
  10. LICENSE-APACHE
  11. METADATA
  12. MODULE_LICENSE_APACHE2
  13. README.md
crates/annotate-snippets/README.md

annotate-snippets

annotate-snippets is a Rust library for annotation of programming code slices.

crates.io documentation build status

The library helps visualize meta information annotating source code slices. It takes a data structure called Snippet on the input and produces a String which may look like this:

Screenshot

Local Development

cargo build
cargo test

When submitting a PR please use cargo fmt (nightly).