Skip to content

Commit

Permalink
document_features
Browse files Browse the repository at this point in the history
  • Loading branch information
A1-Triard committed Sep 8, 2024
1 parent 8c04ccd commit 6dc95d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "dyn-fmt"
version = "0.4.1"
version = "0.4.2"
rust-version = "1.71"
authors = ["warlock <internalmike@gmail.com>"]
description = "Provides dynamic string format."
Expand All @@ -14,4 +14,8 @@ repository = "https://github.com/A1-Triard/dyn-fmt"

[features]
default = ["std"]
## disable to make the library `#![no_std]`.
std = []

[dependencies]
document-features = "0.2.7"
6 changes: 2 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
//! | [`format_args!`](std::format_args) | [`Arguments::new`](Arguments::new) |
//! | [`write!`](std::write) | [`dyn_write!`](dyn_write) |
//!
//! **Crate features**
//!
//! * `"std"`
//! Enabled by default. Disable to make the library `#![no_std]`.
//! ## Feature flags
#![doc=document_features::document_features!()]

#[cfg(feature = "std")]
extern crate core;
Expand Down

0 comments on commit 6dc95d2

Please sign in to comment.