From bbb311979c9e9b7305c855c5b93493d285c6ac7b Mon Sep 17 00:00:00 2001 From: Rafael Bachmann Date: Thu, 27 Apr 2023 11:17:22 +0200 Subject: Rename `json` feature to `serde` Closes GH-59. Reviewed-by: Titus Wormer --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index f101f96..7cfaa9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,14 +19,14 @@ harness = false [features] default = [] -json = ["dep:serde", "dep:serde_json"] +json = ["serde"] +serde = ["dep:serde"] log = ["dep:log"] [dependencies] log = { version = "0.4", optional = true } unicode-id = { version = "0.3", features = ["no_std"] } serde = { version = "1.0", features = ["derive"], optional = true } -serde_json = { version = "1.0", optional = true } [dev-dependencies] env_logger = "0.10" -- cgit