Skip to content

Commit 7edaaa3

Browse files
committed
readme: add badges
1 parent 197680f commit 7edaaa3

File tree

8 files changed

+34
-18
lines changed

8 files changed

+34
-18
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# rinja
22

3+
[![Crates.io](https://img.shields.io/crates/v/rinja?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/rinja)
4+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/rinja-rs/rinja/rust.yml?branch=master&logo=github&style=flat-square&logoColor=white "GitHub Workflow Status")](https://github.com/rinja-rs/rinja/actions/workflows/rust.yml)
5+
[![Our book / manual](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Our book / manual")](https://rinja.readthedocs.io/)
6+
[![docs.rs](https://img.shields.io/docsrs/rinja?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja/)
7+
38
**Rinja** implements a template rendering engine based on [Jinja](https://jinja.palletsprojects.com/),
49
and generates type-safe Rust code from your templates at compile time
510
based on a user-defined `struct` to hold the template's context.

rinja/src/lib.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
//! [![Crates.io](https://img.shields.io/crates/v/rinja?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/rinja)
2+
//! [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/rinja-rs/rinja/rust.yml?branch=master&logo=github&style=flat-square&logoColor=white "GitHub Workflow Status")](https://github.com/rinja-rs/rinja/actions/workflows/rust.yml)
3+
//! [![Our book / manual](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Our book / manual")](https://rinja.readthedocs.io/)
4+
//! [![docs.rs](https://img.shields.io/docsrs/rinja?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja/)
5+
//!
16
//! Rinja implements a type-safe compiler for Jinja-like templates.
27
//! It lets you write templates in a Jinja-like syntax,
38
//! which are linked to a `struct` defining the template context.

rinja_actix/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# rinja_actix: Rinja integration with Actix-web
22

3-
[![Documentation](https://docs.rs/rinja_actix/badge.svg)](https://docs.rs/rinja_actix/)
4-
[![Latest version](https://img.shields.io/crates/v/rinja_actix.svg)](https://crates.io/crates/rinja_actix)
5-
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
3+
[![Crates.io](https://img.shields.io/crates/v/rinja_actix?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/rinja_actix)
4+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/rinja-rs/rinja/rust.yml?branch=master&logo=github&style=flat-square&logoColor=white "GitHub Workflow Status")](https://github.com/rinja-rs/rinja/actions/workflows/rust.yml)
5+
[![Our book / manual](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Our book / manual")](https://rinja.readthedocs.io/)
6+
[![docs.rs](https://img.shields.io/docsrs/rinja_actix?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_actix/)
67

78
Integration of the [Rinja](https://github.com/rinja-rs/rinja) templating engine in
89
code building on the Actix-web framework.

rinja_axum/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# rinja_axum: Rinja integration with Axum
22

3-
[![Documentation](https://docs.rs/rinja_axum/badge.svg)](https://docs.rs/rinja_axum/)
4-
[![Latest version](https://img.shields.io/crates/v/rinja_axum.svg)](https://crates.io/crates/rinja_axum)
5-
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
3+
[![Crates.io](https://img.shields.io/crates/v/rinja_axum?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/rinja_axum)
4+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/rinja-rs/rinja/rust.yml?branch=master&logo=github&style=flat-square&logoColor=white "GitHub Workflow Status")](https://github.com/rinja-rs/rinja/actions/workflows/rust.yml)
5+
[![Our book / manual](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Our book / manual")](https://rinja.readthedocs.io/)
6+
[![docs.rs](https://img.shields.io/docsrs/rinja_axum?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_axum/)
67

78
Integration of the [Rinja](https://github.com/rinja-rs/rinja) templating engine in
89
code building on the Axum web framework.

rinja_derive/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# rinja_derive: procedural macros for the Rinja templating engine
22

3-
[![Documentation](https://docs.rs/rinja_derive/badge.svg)](https://docs.rs/rinja_derive/)
4-
[![Latest version](https://img.shields.io/crates/v/rinja_derive.svg)](https://crates.io/crates/rinja_derive)
5-
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
3+
[![Crates.io](https://img.shields.io/crates/v/rinja_derive?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/rinja_derive)
4+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/rinja-rs/rinja/rust.yml?branch=master&logo=github&style=flat-square&logoColor=white "GitHub Workflow Status")](https://github.com/rinja-rs/rinja/actions/workflows/rust.yml)
5+
[![Our book / manual](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Our book / manual")](https://rinja.readthedocs.io/)
6+
[![docs.rs](https://img.shields.io/docsrs/rinja_derive?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_derive/)
67

78
This crate contains the procedural macros used by the
89
[Rinja](https://github.com/rinja-rs/rinja) templating engine.

rinja_parser/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# rinja_parser: template parser for the Rinja templating engine
22

3-
[![Documentation](https://docs.rs/rinja_parser/badge.svg)](https://docs.rs/rinja_parser/)
4-
[![Latest version](https://img.shields.io/crates/v/rinja_parser.svg)](https://crates.io/crates/rinja_parser)
5-
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
3+
[![Crates.io](https://img.shields.io/crates/v/rinja_parser?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/rinja_parser)
4+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/rinja-rs/rinja/rust.yml?branch=master&logo=github&style=flat-square&logoColor=white "GitHub Workflow Status")](https://github.com/rinja-rs/rinja/actions/workflows/rust.yml)
5+
[![Our book / manual](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Our book / manual")](https://rinja.readthedocs.io/)
6+
[![docs.rs](https://img.shields.io/docsrs/rinja_parser?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_parser/)
67

78
This crate contains the procedural macros used by the
89
[Rinja](https://github.com/rinja-rs/rinja) templating engine.

rinja_rocket/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# rinja_rocket: Rinja integration with Rocket
22

3-
[![Documentation](https://docs.rs/rinja_rocket/badge.svg)](https://docs.rs/rinja_rocket/)
4-
[![Latest version](https://img.shields.io/crates/v/rinja_rocket.svg)](https://crates.io/crates/rinja_rocket)
5-
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
3+
[![Crates.io](https://img.shields.io/crates/v/rinja_rocket?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/rinja_rocket)
4+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/rinja-rs/rinja/rust.yml?branch=master&logo=github&style=flat-square&logoColor=white "GitHub Workflow Status")](https://github.com/rinja-rs/rinja/actions/workflows/rust.yml)
5+
[![Our book / manual](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Our book / manual")](https://rinja.readthedocs.io/)
6+
[![docs.rs](https://img.shields.io/docsrs/rinja_rocket?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_rocket/)
67

78
Integration of the [Rinja](https://github.com/rinja-rs/rinja) templating engine in
89
code building on the Rocket web framework.

rinja_warp/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# rinja_warp: Rinja integration with warp
22

3-
[![Documentation](https://docs.rs/rinja_warp/badge.svg)](https://docs.rs/rinja_warp/)
4-
[![Latest version](https://img.shields.io/crates/v/rinja_warp.svg)](https://crates.io/crates/rinja_warp)
5-
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
3+
[![Crates.io](https://img.shields.io/crates/v/rinja_warp?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/rinja_warp)
4+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/rinja-rs/rinja/rust.yml?branch=master&logo=github&style=flat-square&logoColor=white "GitHub Workflow Status")](https://github.com/rinja-rs/rinja/actions/workflows/rust.yml)
5+
[![Our book / manual](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Our book / manual")](https://rinja.readthedocs.io/)
6+
[![docs.rs](https://img.shields.io/docsrs/rinja_warp?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_warp/)
67

78
Integration of the [Rinja](https://github.com/rinja-rs/rinja) templating engine in
89
code building on the warp web framework.

0 commit comments

Comments
 (0)