From c8599e0927db512dc02b0d7938493ad73dc42dcc Mon Sep 17 00:00:00 2001 From: Warlock Date: Sun, 8 Sep 2024 22:00:11 +0300 Subject: [PATCH] maintenance --- Cargo.toml | 5 ++++- README.md | 2 +- src/lib.rs | 5 +++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6c50f19..ecfaba4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "dyn-fmt" -version = "0.4.2" +version = "0.4.3" rust-version = "1.71" authors = ["warlock "] description = "Provides dynamic string format." @@ -17,5 +17,8 @@ default = ["std"] ## disable to make the library `#![no_std]`. std = [] +[badges] +maintenance = { status = "passively-maintained" } + [dependencies] document-features = "0.2.7" diff --git a/README.md b/README.md index 7988b65..452a42b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![travis](https://travis-ci.org/A1-Triard/dyn-fmt.svg?branch=master) +![maintenance: passively maintained](https://img.shields.io/badge/maintenance-passively--maintained-yellowgreen.svg) # dyn-fmt diff --git a/src/lib.rs b/src/lib.rs index 3cc1644..7b303b3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,6 @@ #![deny(warnings)] +#![allow(clippy::needless_doctest_main)] + #![cfg_attr(not(feature = "std"), no_std)] //! | Static format macro | Dynamic analog | @@ -10,6 +12,9 @@ //! ## Feature flags #![doc=document_features::document_features!()] +#[doc=include_str!("../README.md")] +type _DocTestReadme = (); + #[cfg(feature = "std")] extern crate core;