Add recommended Cargo.toml line to readme

This commit is contained in:
David Tolnay 2016-12-22 21:43:01 -05:00
parent e0bdf46400
commit c30572eb1f
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -13,6 +13,11 @@ You may be looking for:
## Serde JSON in action
```toml
[dependencies]
serde_json = "0.8"
```
Out of the box, Serde JSON is able to serialize and deserialize most Rust
standard library types as JSON (primitives, `String`, `HashMap`, tuples, `Vec`,
`Option`, etc). This works equally well on stable and nightly compilers and does