readme: fix a link, include readmes in lib.rs

This commit is contained in:
René Kijewski 2025-08-15 13:06:10 +02:00
parent 59a982028e
commit 016fe82199
3 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# askama_escape: HTML escaping, extracted from [Askama](https://askama.readthedocs.io/)
[![Crates.io](https://img.shields.io/crates/v/askama_escape?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/askama)
[![Crates.io](https://img.shields.io/crates/v/askama_escape?logo=rust&style=flat-square&logoColor=white "Crates.io")](https://crates.io/crates/askama_escape)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/askama-rs/askama/rust.yml?branch=master&logo=github&style=flat-square&logoColor=white "GitHub Workflow Status")](https://github.com/askama-rs/askama/actions/workflows/rust.yml)
[![docs.rs](https://img.shields.io/docsrs/askama_escape?logo=docsdotrs&style=flat-square&logoColor=white "docs.rs")](https://docs.rs/askama_escape/)

View File

@ -1,6 +1,7 @@
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
#![doc = include_str!("../README.md")]
askama_derive::make_derive_template! {
#[proc_macro_derive(Template, attributes(template))]

View File

@ -2,6 +2,7 @@
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
#![allow(clippy::vec_box)] // intentional, less copying
#![doc = include_str!("../README.md")]
mod ascii_str;
pub mod expr;