File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ std = ["serde/std"]
5050# Provide integration for heap-allocated collections without depending on the
5151# rest of the Rust standard library.
5252# NOTE: Disabling both `std` *and* `alloc` features is not supported yet.
53- # Available on Rust 1.36+.
5453alloc = [" serde/alloc" ]
5554
5655# Make serde_json::Map use a representation which maintains insertion order.
Original file line number Diff line number Diff line change @@ -350,8 +350,8 @@ closed without a response after some time.
350350## No-std support
351351
352352As long as there is a memory allocator, it is possible to use serde_json without
353- the rest of the Rust standard library. This is supported on Rust 1.36+. Disable
354- the default "std" feature and enable the "alloc" feature:
353+ the rest of the Rust standard library. Disable the default "std" feature and
354+ enable the "alloc" feature:
355355
356356``` toml
357357[dependencies ]
Original file line number Diff line number Diff line change 279279//! # No-std support
280280//!
281281//! As long as there is a memory allocator, it is possible to use serde_json
282- //! without the rest of the Rust standard library. This is supported on Rust
283- //! 1.36+. Disable the default "std" feature and enable the "alloc" feature:
282+ //! without the rest of the Rust standard library. Disable the default "std"
283+ //! feature and enable the "alloc" feature:
284284//!
285285//! ```toml
286286//! [dependencies]
You can’t perform that action at this time.
0 commit comments