Update README.md
Add some information about ```no_std``` because it was not obvious to me
This commit is contained in:
parent
8bba8447ef
commit
a164f52315
10
README.md
10
README.md
@ -84,6 +84,16 @@ about Serde. If IRC is not your thing or you don't get a good response, we are
|
|||||||
happy to respond to [GitHub issues](https://github.com/serde-rs/serde/issues/new)
|
happy to respond to [GitHub issues](https://github.com/serde-rs/serde/issues/new)
|
||||||
as well.
|
as well.
|
||||||
|
|
||||||
|
## no-std
|
||||||
|
Serde has a feature named std enabled by default.
|
||||||
|
In order to to use Serde in a no_std context the std feature has to be disabled.
|
||||||
|
To do that add the following to your Cargo.toml:
|
||||||
|
|
||||||
|
```
|
||||||
|
[dependencies]
|
||||||
|
serde = { version = "1.0.27", default-features = false }
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Serde is licensed under either of
|
Serde is licensed under either of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user