mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-07 00:00:13 +02:00
Update README.md (#320)
This commit is contained in:
committed by
Sean McArthur
parent
a642e1c075
commit
171cffa505
@@ -18,7 +18,7 @@ To use `bytes`, first add this to your `Cargo.toml`:
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytes = "0.4.12"
|
bytes = "0.5"
|
||||||
```
|
```
|
||||||
|
|
||||||
Next, add this to your crate:
|
Next, add this to your crate:
|
||||||
@@ -33,7 +33,7 @@ Serde support is optional and disabled by default. To enable use the feature `se
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytes = { version = "0.4.12", features = ["serde"] }
|
bytes = { version = "0.5", features = ["serde"] }
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
Reference in New Issue
Block a user