From b85599609625afa5325db292e2315f4de85a2b18 Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Thu, 23 Jan 2020 00:29:16 +0100 Subject: [PATCH] Correct no-std support in README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7f8adf280..c2b786bc5 100644 --- a/README.md +++ b/README.md @@ -321,8 +321,11 @@ issues](https://github.com/serde-rs/json/issues/new) as well. ## No-std support -This crate currently requires the Rust standard library. For JSON support in -Serde without a standard library, please see the [`serde-json-core`] crate. +It is possible to opt out of the Rust standard library by enabling the `alloc` +feature (and disabling the default `std` one). This is supported on Rust 1.36+. + +For JSON support in Serde without a memory allocator, please see the +[`serde-json-core`] crate. [`serde-json-core`]: https://japaric.github.io/serde-json-core/serde_json_core/