mirror of
https://github.com/fafhrd91/actix-net
synced 2025-06-26 22:07:42 +02:00
format changelogs with prettier
This commit is contained in:
@ -1,59 +1,60 @@
|
||||
# Changes
|
||||
|
||||
## Unreleased - 2022-xx-xx
|
||||
|
||||
- Implement `AsRef<ByteString>` for `ByteString`.
|
||||
- Minimum supported Rust version (MSRV) is now 1.59.
|
||||
|
||||
|
||||
## 1.2.1 - 2022-11-12
|
||||
|
||||
- Fix `#[no_std]` compatibility. [#471]
|
||||
|
||||
[#471]: https://github.com/actix/actix-net/pull/471
|
||||
|
||||
|
||||
## 1.2.0 - 2022-11-07
|
||||
|
||||
- Add `ByteString::slice_ref` which can safely slice a `ByteString` into a new one with zero copy. [#470]
|
||||
- Minimum supported Rust version (MSRV) is now 1.57.
|
||||
|
||||
[#470]: https://github.com/actix/actix-net/pull/470
|
||||
|
||||
|
||||
## 1.1.0 - 2022-06-11
|
||||
|
||||
- Implement `From<Box<str>>` for `ByteString`. [#458]
|
||||
- Implement `Into<String>` for `ByteString`. [#458]
|
||||
- Minimum supported Rust version (MSRV) is now 1.49.
|
||||
|
||||
[#458]: https://github.com/actix/actix-net/pull/458
|
||||
|
||||
|
||||
## 1.0.0 - 2020-12-31
|
||||
|
||||
- Update `bytes` dependency to `1`.
|
||||
- Add array and slice of `u8` impls of `TryFrom` up to 32 in length.
|
||||
- Rename `get_ref` to `as_bytes` and rename `into_inner` to `into_bytes`.
|
||||
- `ByteString::new` is now a `const fn`.
|
||||
- Crate is now `#[no_std]` compatible.
|
||||
|
||||
|
||||
## 0.1.5 - 2020-03-30
|
||||
|
||||
- Serde support
|
||||
|
||||
|
||||
## 0.1.4 - 2020-01-14
|
||||
|
||||
- Fix `AsRef<str>` impl
|
||||
|
||||
|
||||
## 0.1.3 - 2020-01-13
|
||||
|
||||
- Add `PartialEq<T: AsRef<str>>`, `AsRef<[u8]>` impls
|
||||
|
||||
|
||||
## 0.1.2 - 2019-12-22
|
||||
|
||||
- Fix `new()` method
|
||||
- Make `ByteString::from_static()` and `ByteString::from_bytes_unchecked()` methods const.
|
||||
|
||||
|
||||
## 0.1.1 - 2019-12-07
|
||||
|
||||
- Fix hash impl
|
||||
|
||||
|
||||
## 0.1.0 - 2019-12-07
|
||||
|
||||
- Initial release
|
||||
|
Reference in New Issue
Block a user