mirror of
https://github.com/openharmony/third_party_rust_bytes.git
synced 2026-07-01 22:24:07 -04:00
Update readme / changelog (#451)
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
# 1.0.0 (unreleased)
|
||||
|
||||
- Rename Buf/BufMut, methods to chunk/chunk_mut (#450)
|
||||
- remove unused Buf implementation. (#449)
|
||||
|
||||
# 0.6.0 (October 21, 2020)
|
||||
|
||||
API polish in preparation for a 1.0 release.
|
||||
|
||||
@@ -18,7 +18,7 @@ To use `bytes`, first add this to your `Cargo.toml`:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
bytes = "0.6"
|
||||
bytes = "1.0"
|
||||
```
|
||||
|
||||
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
|
||||
[dependencies]
|
||||
bytes = { version = "0.6", features = ["serde"] }
|
||||
bytes = { version = "1.0", features = ["serde"] }
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Reference in New Issue
Block a user