From 5ca44c2c0736aa79e9003571fdb9d871cbee808b Mon Sep 17 00:00:00 2001 From: Pierre Chifflier Date: Thu, 14 Nov 2024 16:07:02 +0100 Subject: [PATCH] ToStatic: fix build with nostd --- src/traits.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/traits.rs b/src/traits.rs index 9db13d6..c3935a7 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -2,6 +2,7 @@ use crate::debug::{trace, trace_generic}; use crate::error::*; use crate::{parse_der_any, Any, Class, Explicit, Implicit, Tag, TaggedParser}; use alloc::borrow::Cow; +use alloc::string::ToString; use core::convert::{TryFrom, TryInto}; use core::fmt::{Debug, Display}; #[cfg(feature = "std")]