aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorLibravatar Rafael Bachmann <rafael.bachmann.93@gmail.com>2023-04-27 11:17:22 +0200
committerLibravatar GitHub <noreply@github.com>2023-04-27 11:17:22 +0200
commitbbb311979c9e9b7305c855c5b93493d285c6ac7b (patch)
treecfc2fc8399dae7f4495b6f395d95d87c25afb632 /Cargo.toml
parent6d8b9a6e18685bbd24751a27469907069413eb75 (diff)
downloadmarkdown-rs-bbb311979c9e9b7305c855c5b93493d285c6ac7b.tar.gz
markdown-rs-bbb311979c9e9b7305c855c5b93493d285c6ac7b.tar.bz2
markdown-rs-bbb311979c9e9b7305c855c5b93493d285c6ac7b.zip
Rename `json` feature to `serde`
Closes GH-59. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
Diffstat (limited to '')
-rw-r--r--Cargo.toml4
1 files changed, 2 insertions, 2 deletions
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"