Update for the latest nom and make serde an optional dep.

This commit is contained in:
Tom Alexander
2020-12-29 18:07:49 -05:00
parent aa3ed99fca
commit a9a83d1b4a
3 changed files with 27 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ edition = "2018"
[features]
default = []
json-integration = []
json-integration = ["serde", "serde_json"]
[lib]
name = "duster"
@@ -19,5 +19,5 @@ required-features = ["json-integration"]
[dependencies]
nom = { git = "https://github.com/tomalexander/nom.git", branch = "take_until_parser_matches" }
serde = "1.0.106"
serde_json = "1.0.51"
serde = { version = "1.0.106", optional = true }
serde_json = { version = "1.0.51", optional = true }