mirror of
https://github.com/serde-rs/json.git
synced 2025-10-04 16:25:42 +00:00
Merge pull request #928 from kvinwang/nostd-arbp
arbitrary_precision without std
This commit is contained in:
commit
54f9685a57
@ -14,6 +14,12 @@ use crate::error::ErrorCode;
|
|||||||
#[cfg(feature = "arbitrary_precision")]
|
#[cfg(feature = "arbitrary_precision")]
|
||||||
use serde::de::{IntoDeserializer, MapAccess};
|
use serde::de::{IntoDeserializer, MapAccess};
|
||||||
|
|
||||||
|
#[cfg(feature = "arbitrary_precision")]
|
||||||
|
use alloc::{
|
||||||
|
borrow::ToOwned,
|
||||||
|
string::{String, ToString},
|
||||||
|
};
|
||||||
|
|
||||||
#[cfg(feature = "arbitrary_precision")]
|
#[cfg(feature = "arbitrary_precision")]
|
||||||
pub(crate) const TOKEN: &str = "$serde_json::private::Number";
|
pub(crate) const TOKEN: &str = "$serde_json::private::Number";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user