Add with-serde feauture
@@ -17,6 +17,9 @@ bench = false
[features]
with-bytes = ["bytes"]
+with-serde = ["serde", "serde_derive"]
[dependencies]
bytes = { version = "0.4", optional = true }
+serde = { version = "1.0", optional = true }
+serde_derive = { version = "1.0", optional = true }
