Skip to content

rust-lang/annotate-snippets-rs

Folders and files

NameName
Last commit message
Last commit date
Feb 20, 2025
Sep 9, 2024
Feb 12, 2025
Mar 3, 2025
Feb 12, 2025
Jun 6, 2024
Nov 8, 2023
Nov 9, 2023
Dec 9, 2024
Apr 1, 2025
Dec 9, 2024
Mar 29, 2023
Mar 29, 2023
Mar 11, 2024
Nov 9, 2023
Jun 6, 2024
Dec 9, 2024

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).