From 3c75f65105d52c2f1c34e20a858ddf4998b2f94f Mon Sep 17 00:00:00 2001 From: Julius Rakow Date: Sat, 25 Aug 2018 01:15:04 +0200 Subject: [PATCH] mention no_std in readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 8d2b2f5..e9c2c1f 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,18 @@ cargo build cargo test ``` +# `no_std` support +This crate supports `no_std` environments. +If the `std` feature is disabled, `no_std` is supported. +Use like that: +```toml +[dependencies] +parity-wasm = { version = "0.31", default-features = false } +``` + +`no_std` requires the `core` and `alloc` libraries and a nightly compiler. +Also, code related to `std::error` is disabled. + ## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted