Skip to content

Commit cb7612d

Browse files
authored
docs: add badges to readme (#10)
1 parent b3bdf6d commit cb7612d

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ jobs:
4848
- uses: codecov/codecov-action@v5
4949
with:
5050
token: ${{ secrets.CODECOV_TOKEN }}
51-
slug: ratatui/kasuari
51+
slug: joshka/line-clipping
5252
fail_ci_if_error: false

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Line clipping
22

3+
[![crate-badge]][crate]
4+
[![docs-badge]][docs]
5+
[![license-badge]][license] \
6+
[![github-badge]][github]
7+
[![build-badge]][build]
8+
[![codecov-badge]][codecov]
9+
10+
[crate-badge]: https://img.shields.io/crates/v/line-clipping?logo=rust
11+
[docs-badge]: https://img.shields.io/badge/docs.rs-line_clipping-blue?logo=rust
12+
[license-badge]: https://img.shields.io/crates/l/line-clipping?logo=apache
13+
[github-badge]: https://img.shields.io/badge/github-joshka%2Fline_clipping-blue?logo=github
14+
[build-badge]: https://github.com/joshka/line-clipping/actions/workflows/ci.yml/badge.svg?logo=github
15+
[codecov-badge]: https://img.shields.io/codecov/c/github/joshka/line-clipping?logo=codecov
16+
17+
[github]: https://github.com/joshka/line-clipping
18+
[crate]: https://crates.io/crates/line-clipping
19+
[license]: #license
20+
[docs]: https://docs.rs/line-clipping
21+
[build]: https://github.com/joshka/line-clipping/actions/workflows/ci.yml
22+
[codecov]: https://codecov.io/gh/joshka/line-clipping
23+
324
<!-- cargo-rdme start -->
425

526
A rust crate to implement several line clipping algorithms. See the

0 commit comments

Comments
 (0)