release as 1.0.0

This commit is contained in:
Rob Ede 2020-12-31 01:58:50 +00:00
parent 7443bb4c83
commit 160130cc8d
No known key found for this signature in database
GPG Key ID: C2A3B36E841A91E6
3 changed files with 5 additions and 4 deletions

View File

@ -3,13 +3,14 @@
## Unreleased - 2020-xx-xx ## Unreleased - 2020-xx-xx
## 0.2.0 - 2020-12-31 ## 1.0.0 - 2020-12-31
* Update `bytes` dependency to `1`. * Update `bytes` dependency to `1`.
* Add array and slice of `u8` impls of TryFrom up to 32 in length. * 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`. * Rename `get_ref` to `as_bytes` and rename `into_inner` to `into_bytes`.
* `ByteString::new` is now a `const fn`. * `ByteString::new` is now a `const fn`.
* Crate is now `#[no_std]` compatible. * Crate is now `#[no_std]` compatible.
## 0.1.5 - 2020-03-30 ## 0.1.5 - 2020-03-30
* Serde support * Serde support

View File

@ -1,6 +1,6 @@
[package] [package]
name = "bytestring" name = "bytestring"
version = "0.2.0" version = "1.0.0"
authors = [ authors = [
"Nikolay Kim <fafhrd91@gmail.com>", "Nikolay Kim <fafhrd91@gmail.com>",
"Rob Ede <robjtede@icloud.com>", "Rob Ede <robjtede@icloud.com>",

View File

@ -175,7 +175,7 @@ macro_rules! array_impls {
} }
} }
array_impls!(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31); array_impls!(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32);
impl fmt::Debug for ByteString { impl fmt::Debug for ByteString {
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {