annotate-snippets 0.0.2

Library for building code annotations

annotate-snippets

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

crates.io Build Status Coverage Status

The library helps visualize meta information annotating source code slices.

Documentation

Installation

[dependencies]
annotate-snippets-rs = "0.0.2"

Usage

extern crate annotate_snippets;

use annotate_snippets::snippet;

fn main() {
    let snippet = Snippet {};
    println!("{}", snippet);
}

Local Development

cargo build
cargo test

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