mirror of
https://github.com/serde-rs/json.git
synced 2025-09-30 14:32:05 +00:00
Delete 1.36+ caveat from descriptions of alloc feature
This commit is contained in:
parent
486598bbef
commit
ab0f884fb6
@ -50,7 +50,6 @@ std = ["serde/std"]
|
||||
# Provide integration for heap-allocated collections without depending on the
|
||||
# rest of the Rust standard library.
|
||||
# NOTE: Disabling both `std` *and* `alloc` features is not supported yet.
|
||||
# Available on Rust 1.36+.
|
||||
alloc = ["serde/alloc"]
|
||||
|
||||
# Make serde_json::Map use a representation which maintains insertion order.
|
||||
|
@ -350,8 +350,8 @@ closed without a response after some time.
|
||||
## No-std support
|
||||
|
||||
As long as there is a memory allocator, it is possible to use serde_json without
|
||||
the rest of the Rust standard library. This is supported on Rust 1.36+. Disable
|
||||
the default "std" feature and enable the "alloc" feature:
|
||||
the rest of the Rust standard library. Disable the default "std" feature and
|
||||
enable the "alloc" feature:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
|
@ -279,8 +279,8 @@
|
||||
//! # No-std support
|
||||
//!
|
||||
//! As long as there is a memory allocator, it is possible to use serde_json
|
||||
//! without the rest of the Rust standard library. This is supported on Rust
|
||||
//! 1.36+. Disable the default "std" feature and enable the "alloc" feature:
|
||||
//! without the rest of the Rust standard library. Disable the default "std"
|
||||
//! feature and enable the "alloc" feature:
|
||||
//!
|
||||
//! ```toml
|
||||
//! [dependencies]
|
||||
|
Loading…
x
Reference in New Issue
Block a user