From 96dc284d61a9400ce181bfb4e49c2912d1ff20bc Mon Sep 17 00:00:00 2001 From: Pankratov Dmitry Date: Fri, 26 Apr 2024 12:28:37 +0200 Subject: [PATCH] Added missing 'serde' feature --- ipp/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipp/Cargo.toml b/ipp/Cargo.toml index 08fff74..9b7b632 100644 --- a/ipp/Cargo.toml +++ b/ipp/Cargo.toml @@ -19,7 +19,7 @@ enum-primitive-derive = "0.3" futures-executor = { version = "0.3", optional = true } log = "0.4" num-traits = "0.2" -bytes = { version = "1", features = ["serde"] } +bytes = "1" thiserror = "1" http = "1" serde = { version = "1", optional = true, features = ["derive"] } @@ -49,6 +49,7 @@ tokio = { version = "1", features = ["macros", "rt-multi-thread"] } [features] default = ["async-client", "client", "async-client-tls", "client-tls"] +serde = ["dep:serde", "bytes/serde"] async = ["futures-util", "futures-executor"] async-client = ["async", "reqwest", "tokio-util", "base64"] client = ["ureq", "base64"]