mirror of
https://github.com/serde-rs/json.git
synced 2025-10-02 15:26:00 +00:00
parent
a22b686f49
commit
8ecd48308a
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -49,6 +49,7 @@ jobs:
|
|||||||
- run: cargo check --features raw_value
|
- run: cargo check --features raw_value
|
||||||
- run: cargo check --features unbounded_depth
|
- run: cargo check --features unbounded_depth
|
||||||
- run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc
|
- run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc
|
||||||
|
- run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc,raw_value
|
||||||
- run: cargo check --features preserve_order
|
- run: cargo check --features preserve_order
|
||||||
if: matrix.rust != '1.45.0' && matrix.rust != '1.40.0' && matrix.rust != '1.38.0' && matrix.rust != '1.36.0'
|
if: matrix.rust != '1.45.0' && matrix.rust != '1.40.0' && matrix.rust != '1.38.0' && matrix.rust != '1.36.0'
|
||||||
- run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc,preserve_order
|
- run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc,preserve_order
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
use crate::error::Error;
|
use crate::error::Error;
|
||||||
|
use alloc::borrow::ToOwned;
|
||||||
|
use alloc::boxed::Box;
|
||||||
|
use alloc::string::String;
|
||||||
use core::fmt::{self, Debug, Display};
|
use core::fmt::{self, Debug, Display};
|
||||||
use core::mem;
|
use core::mem;
|
||||||
use serde::de::value::BorrowedStrDeserializer;
|
use serde::de::value::BorrowedStrDeserializer;
|
||||||
|
@ -4,6 +4,8 @@ use crate::number::Number;
|
|||||||
use crate::value::Value;
|
use crate::value::Value;
|
||||||
use alloc::borrow::{Cow, ToOwned};
|
use alloc::borrow::{Cow, ToOwned};
|
||||||
use alloc::string::String;
|
use alloc::string::String;
|
||||||
|
#[cfg(feature = "raw_value")]
|
||||||
|
use alloc::string::ToString;
|
||||||
use alloc::vec::{self, Vec};
|
use alloc::vec::{self, Vec};
|
||||||
use core::fmt;
|
use core::fmt;
|
||||||
use core::slice;
|
use core::slice;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user