Skip to content

Commit ec72b27

Browse files
committed
arbitrary_precision without std
1 parent d64ffdc commit ec72b27

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/number.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ use crate::error::ErrorCode;
1414
#[cfg(feature = "arbitrary_precision")]
1515
use serde::de::{IntoDeserializer, MapAccess};
1616

17+
#[cfg(feature = "arbitrary_precision")]
18+
use alloc::{
19+
borrow::ToOwned,
20+
string::{String, ToString},
21+
};
22+
1723
#[cfg(feature = "arbitrary_precision")]
1824
pub(crate) const TOKEN: &str = "$serde_json::private::Number";
1925

0 commit comments

Comments
 (0)