[package]
edition = "2024"
rust-version = "1.85"
name = "sourceannot"
version = "0.3.0"
authors = ["Eduardo Sánchez Muñoz <eduardosm-dev@e64.io>"]
build = false
exclude = [
"/.github",
".gitignore",
"/ci",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library to render snippets of source code with annotations"
readme = "README.md"
keywords = [
"annotation",
"code",
"error",
"report",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/eduardosm/rust-sourceannot"
[features]
default = ["std"]
std = []
[lib]
name = "sourceannot"
path = "src/lib.rs"
[[test]]
name = "render"
path = "tests/render.rs"
[[test]]
name = "snippet"
path = "tests/snippet/main.rs"
[dependencies.unicode-width]
version = "0.2.2"
[dev-dependencies.indoc]
version = "2.0.7"