Skip to content

rust-lang/annotate-snippets-rs

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

49c1202 · Apr 16, 2025
Apr 3, 2025
Apr 16, 2025
Apr 16, 2025
Apr 16, 2025
Apr 16, 2025
Jun 6, 2024
Nov 8, 2023
Nov 9, 2023
Dec 9, 2024
Apr 16, 2025
Dec 9, 2024
Mar 29, 2023
Mar 29, 2023
Mar 11, 2024
Nov 9, 2023
Jun 6, 2024
Dec 9, 2024

Repository files navigation

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