aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alice Ryhl <alice@ryhl.io> 2021-01-11 18:07:46 +0100
committerGravatar GitHub <noreply@github.com> 2021-01-11 18:07:46 +0100
commit7b18c1c076adf9dff4dca28ffc1bbd8759860798 (patch)
treeb1aba7c24b633a0b8fe38ccf2b33de9c8d748c23
parentdf20a683567909f3e33512a22862b0de954881f4 (diff)
downloadbytes-7b18c1c076adf9dff4dca28ffc1bbd8759860798.tar.gz
bytes-7b18c1c076adf9dff4dca28ffc1bbd8759860798.tar.zst
bytes-7b18c1c076adf9dff4dca28ffc1bbd8759860798.zip
prepare 1.0.1 release (#460)v1.0.1
-rw-r--r--CHANGELOG.md9
-rw-r--r--Cargo.toml4
-rw-r--r--src/lib.rs2
3 files changed, 12 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5cabb8c..a53a165 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,12 @@
+# 1.0.1 (January 11, 2021)
+
+### Changed
+- mark `Vec::put_slice` with `#[inline]` (#459)
+
+### Fixed
+- Fix deprecation warning (#457)
+- use `Box::into_raw` instead of `mem::forget`-in-disguise (#458)
+
# 1.0.0 (December 22, 2020)
### Changed
diff --git a/Cargo.toml b/Cargo.toml
index cec534c..8f4e224 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,14 +6,14 @@ name = "bytes"
# - Update CHANGELOG.md.
# - Update doc URL.
# - Create "v1.0.x" git tag.
-version = "1.0.0"
+version = "1.0.1"
license = "MIT"
authors = [
"Carl Lerche <me@carllerche.com>",
"Sean McArthur <sean@seanmonstar.com>",
]
description = "Types and traits for working with bytes"
-documentation = "https://docs.rs/bytes/1.0.0/bytes/"
+documentation = "https://docs.rs/bytes/1.0.1/bytes/"
repository = "https://github.com/tokio-rs/bytes"
readme = "README.md"
keywords = ["buffers", "zero-copy", "io"]
diff --git a/src/lib.rs b/src/lib.rs
index 940d17d..dd8cc96 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -3,7 +3,7 @@
no_crate_inject,
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables))
))]
-#![doc(html_root_url = "https://docs.rs/bytes/1.0.0")]
+#![doc(html_root_url = "https://docs.rs/bytes/1.0.1")]
#![no_std]
//! Provides abstractions for working with bytes.