From 68db9b03a4d8948eb6c7e5c8c4d769b0ae8b06f0 Mon Sep 17 00:00:00 2001 From: Ethan Brierley Date: Sat, 23 Mar 2024 12:14:16 +0000 Subject: [PATCH] chore: make `serde` feature explicit This makes the `serde` feature more clearly part of the public API. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index eb3b56e..467d949 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,7 @@ default = ["std"] # impl std::error::Error for Secret where E: Error std = [] fake = ["dep:fake", "dep:rand"] +serde = ["dep:serde"] [dependencies] fake = { version = "2.5", optional = true, default-features = false }