mention no_std in readme
This commit is contained in:
parent
d38d268740
commit
3c75f65105
12
README.md
12
README.md
|
@ -27,6 +27,18 @@ cargo build
|
||||||
cargo test
|
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
|
## Contribution
|
||||||
|
|
||||||
Unless you explicitly state otherwise, any contribution intentionally submitted
|
Unless you explicitly state otherwise, any contribution intentionally submitted
|
||||||
|
|
Loading…
Reference in New Issue