From aac64a78bde80ee8d46d8db7675214b6a6d04e57 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 }