Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme: add badges #110

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# rinja

[![Crates.io](https://img.shields.io/crates/v/rinja?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/rinja)
[![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)
[![Book](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Book")](https://rinja.readthedocs.io/)
[![docs.rs](https://img.shields.io/docsrs/rinja?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja/)

**Rinja** implements a template rendering engine based on [Jinja](https://jinja.palletsprojects.com/),
and generates type-safe Rust code from your templates at compile time
based on a user-defined `struct` to hold the template's context.
Expand Down
5 changes: 5 additions & 0 deletions rinja/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//! [![Crates.io](https://img.shields.io/crates/v/rinja?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/rinja)
//! [![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)
//! [![Book](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Book")](https://rinja.readthedocs.io/)
//! [![docs.rs](https://img.shields.io/docsrs/rinja?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja/)
//!
//! Rinja implements a type-safe compiler for Jinja-like templates.
//! It lets you write templates in a Jinja-like syntax,
//! which are linked to a `struct` defining the template context.
Expand Down
7 changes: 4 additions & 3 deletions rinja_actix/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# rinja_actix: Rinja integration with Actix-web

[![Documentation](https://docs.rs/rinja_actix/badge.svg)](https://docs.rs/rinja_actix/)
[![Latest version](https://img.shields.io/crates/v/rinja_actix.svg)](https://crates.io/crates/rinja_actix)
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
[![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)
[![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)
[![Book](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Book")](https://rinja.readthedocs.io/)
[![docs.rs](https://img.shields.io/docsrs/rinja_actix?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_actix/)

Integration of the [Rinja](https://github.com/rinja-rs/rinja) templating engine in
code building on the Actix-web framework.
7 changes: 4 additions & 3 deletions rinja_axum/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# rinja_axum: Rinja integration with Axum

[![Documentation](https://docs.rs/rinja_axum/badge.svg)](https://docs.rs/rinja_axum/)
[![Latest version](https://img.shields.io/crates/v/rinja_axum.svg)](https://crates.io/crates/rinja_axum)
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
[![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)
[![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)
[![Book](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Book")](https://rinja.readthedocs.io/)
[![docs.rs](https://img.shields.io/docsrs/rinja_axum?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_axum/)

Integration of the [Rinja](https://github.com/rinja-rs/rinja) templating engine in
code building on the Axum web framework.
7 changes: 4 additions & 3 deletions rinja_derive/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# rinja_derive: procedural macros for the Rinja templating engine

[![Documentation](https://docs.rs/rinja_derive/badge.svg)](https://docs.rs/rinja_derive/)
[![Latest version](https://img.shields.io/crates/v/rinja_derive.svg)](https://crates.io/crates/rinja_derive)
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
[![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)
[![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)
[![Book](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Book")](https://rinja.readthedocs.io/)
[![docs.rs](https://img.shields.io/docsrs/rinja_derive?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_derive/)

This crate contains the procedural macros used by the
[Rinja](https://github.com/rinja-rs/rinja) templating engine.
7 changes: 4 additions & 3 deletions rinja_parser/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# rinja_parser: template parser for the Rinja templating engine

[![Documentation](https://docs.rs/rinja_parser/badge.svg)](https://docs.rs/rinja_parser/)
[![Latest version](https://img.shields.io/crates/v/rinja_parser.svg)](https://crates.io/crates/rinja_parser)
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
[![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)
[![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)
[![Book](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Book")](https://rinja.readthedocs.io/)
[![docs.rs](https://img.shields.io/docsrs/rinja_parser?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_parser/)

This crate contains the procedural macros used by the
[Rinja](https://github.com/rinja-rs/rinja) templating engine.
7 changes: 4 additions & 3 deletions rinja_rocket/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# rinja_rocket: Rinja integration with Rocket

[![Documentation](https://docs.rs/rinja_rocket/badge.svg)](https://docs.rs/rinja_rocket/)
[![Latest version](https://img.shields.io/crates/v/rinja_rocket.svg)](https://crates.io/crates/rinja_rocket)
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
[![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)
[![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)
[![Book](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Book")](https://rinja.readthedocs.io/)
[![docs.rs](https://img.shields.io/docsrs/rinja_rocket?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_rocket/)

Integration of the [Rinja](https://github.com/rinja-rs/rinja) templating engine in
code building on the Rocket web framework.
7 changes: 4 additions & 3 deletions rinja_warp/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# rinja_warp: Rinja integration with warp

[![Documentation](https://docs.rs/rinja_warp/badge.svg)](https://docs.rs/rinja_warp/)
[![Latest version](https://img.shields.io/crates/v/rinja_warp.svg)](https://crates.io/crates/rinja_warp)
[![Build Status](https://github.com/rinja-rs/rinja/workflows/CI/badge.svg)](https://github.com/rinja-rs/rinja/actions?query=workflow%3ACI)
[![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)
[![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)
[![Book](https://img.shields.io/readthedocs/rinja?label=book&logo=readthedocs&style=flat-square&logoColor=white "Book")](https://rinja.readthedocs.io/)
[![docs.rs](https://img.shields.io/docsrs/rinja_warp?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/rinja_warp/)

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