mention no_std in readme

This commit is contained in:
Julius Rakow 2018-08-25 01:15:04 +02:00
parent d38d268740
commit 3c75f65105
No known key found for this signature in database
GPG Key ID: 9AABD9B859435A93
1 changed files with 12 additions and 0 deletions

View File

@ -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