From 9ede174e81fe276c84e66f88f2edb7f1295227e2 Mon Sep 17 00:00:00 2001 From: VladimirBramstedt <75995382+VladimirBramstedt@users.noreply.github.com> Date: Sat, 12 Nov 2022 08:00:06 +0100 Subject: [PATCH] fix no_std compatibility (#471) Co-authored-by: Yuki Okushi --- bytestring/CHANGES.md | 3 +++ bytestring/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bytestring/CHANGES.md b/bytestring/CHANGES.md index cb966545..0b1254ef 100644 --- a/bytestring/CHANGES.md +++ b/bytestring/CHANGES.md @@ -1,6 +1,9 @@ # Changes ## Unreleased - 2022-xx-xx +- Fix no_std compatibility. [#471] + +[#471]: https://github.com/actix/actix-net/pull/471 ## 1.2.0 - 2022-11-07 diff --git a/bytestring/Cargo.toml b/bytestring/Cargo.toml index 466f8030..92131e4a 100644 --- a/bytestring/Cargo.toml +++ b/bytestring/Cargo.toml @@ -18,7 +18,7 @@ name = "bytestring" path = "src/lib.rs" [dependencies] -bytes = "1.2" +bytes = { version = "1.2", default-features = false } serde = { version = "1.0", optional = true } [dev-dependencies]