Skip to content

Commit 974a75b

Browse files
authored
Merge pull request #291 from epage/docs
docs(readme): Clean up README
2 parents cebd664 + 8655310 commit 974a75b

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ lto = true
9797
[package]
9898
name = "annotate-snippets"
9999
version = "0.12.1"
100-
description = "Library for building code annotations"
100+
description = "Format diagnostic reports, including highlighting snippets of text"
101101
categories = []
102102
keywords = ["code", "analysis", "ascii", "errors", "debug"]
103103
repository.workspace = true

README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,20 @@
11
# annotate-snippets
22

3-
`annotate-snippets` is a Rust library for annotation of programming code slices.
3+
> Format diagnostic reports, including highlighting snippets of text
44
55
[![crates.io](https://img.shields.io/crates/v/annotate-snippets.svg)](https://crates.io/crates/annotate-snippets)
66
[![documentation](https://img.shields.io/badge/docs-master-blue.svg)][Documentation]
77
![build status](https://github.com/rust-lang/annotate-snippets-rs/actions/workflows/ci.yml/badge.svg)
88

9-
The library helps visualize meta information annotating source code slices.
10-
It takes a data structure called `Snippet` on the input and produces a `String`
11-
which may look like this:
12-
139
![Screenshot](./examples/expected_type.svg)
1410

15-
Local Development
16-
-----------------
11+
## License
1712

18-
```console
19-
$ cargo build
20-
$ cargo test
21-
```
13+
Licensed under either of
2214

23-
When submitting a PR please use [`cargo fmt`][] (nightly).
15+
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <https://www.apache.org/licenses/LICENSE-2.0>)
16+
* MIT license ([LICENSE-MIT](LICENSE-MIT) or <https://opensource.org/license/mit>)
2417

25-
[`cargo fmt`]: https://github.com/rust-lang/rustfmt
18+
at your option.
2619

2720
[Documentation]: https://docs.rs/annotate-snippets/

0 commit comments

Comments
 (0)