Skip to content

Commit

Permalink
use crate variable in README.tpl
Browse files Browse the repository at this point in the history
instead of hardcode iter_fixed, notably in badges link.
regenerate README.md with template update.
  • Loading branch information
gwen-lg committed Jul 12, 2024
1 parent b7e5561 commit 5de1880
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![crates.io](https://img.shields.io/crates/v/iter_fixed.svg)](https://crates.io/crates/iter_fixed)
[![docs.rs](https://docs.rs/iter_fixed/badge.svg)](https://docs.rs/iter_fixed/)
[![dependency status](https://deps.rs/crate/iter_fixed/0.3.0/status.svg)](https://deps.rs/crate/iter_fixed/0.3.0)
[![dependency status](https://deps.rs/crate/iter_fixed/0.4.0/status.svg)](https://deps.rs/crate/iter_fixed/0.4.0)

![Stable](https://github.com/usbalbin/iter_fixed/actions/workflows/stable.yml/badge.svg)
![Nightly](https://github.com/usbalbin/iter_fixed/actions/workflows/nightly.yml/badge.svg)
Expand Down Expand Up @@ -68,4 +68,4 @@ the Apache License (Version 2.0).
See LICENSE-APACHE, and LICENSE-MIT for details.

## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in iter_fixed by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in `iter_fixed` by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
16 changes: 8 additions & 8 deletions README.tpl
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{{badges}}

[![crates.io](https://img.shields.io/crates/v/iter_fixed.svg)](https://crates.io/crates/iter_fixed)
[![docs.rs](https://docs.rs/iter_fixed/badge.svg)](https://docs.rs/iter_fixed/)
[![dependency status](https://deps.rs/crate/iter_fixed/{{version}}/status.svg)](https://deps.rs/crate/iter_fixed/{{version}})
[![crates.io](https://img.shields.io/crates/v/{{crate}}.svg)](https://crates.io/crates/{{crate}})
[![docs.rs](https://docs.rs/{{crate}}/badge.svg)](https://docs.rs/{{crate}}/)
[![dependency status](https://deps.rs/crate/{{crate}}/{{version}}/status.svg)](https://deps.rs/crate/{{crate}}/{{version}})

![Stable](https://github.com/usbalbin/iter_fixed/actions/workflows/stable.yml/badge.svg)
![Nightly](https://github.com/usbalbin/iter_fixed/actions/workflows/nightly.yml/badge.svg)
![Miri](https://github.com/usbalbin/iter_fixed/actions/workflows/miri.yml/badge.svg)
![Stable](https://github.com/usbalbin/{{crate}}/actions/workflows/stable.yml/badge.svg)
![Nightly](https://github.com/usbalbin/{{crate}}/actions/workflows/nightly.yml/badge.svg)
![Miri](https://github.com/usbalbin/{{crate}}/actions/workflows/miri.yml/badge.svg)

# {{crate}}

Expand All @@ -21,10 +21,10 @@ This crate should work without the full standard library
Some additional info here

# License : {{license}}
`iter_fixed` is distributed under the terms of both the MIT license and
`{{crate}}` is distributed under the terms of both the MIT license and
the Apache License (Version 2.0).

See LICENSE-APACHE, and LICENSE-MIT for details.

## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in iter_fixed by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in `{{crate}}` by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

0 comments on commit 5de1880

Please sign in to comment.