From 1d1acbdc5a79d8c4fefcc9ec26ebe4f5cb30e5d3 Mon Sep 17 00:00:00 2001 From: Warlock Date: Mon, 6 Nov 2023 23:20:50 +0300 Subject: [PATCH] no_std --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e374313..ea4d6b8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,7 +132,9 @@ //! //! [macro_rules_attribute]: https://docs.rs/macro_rules_attribute/ -use std::fmt; +#![no_std] + +use core::fmt; /// Placeholder values when a [cfg](attr@cfg)-disabled parameter is used in [`log`]. #[doc(hidden)]