Update for the latest nom and make serde an optional dep.
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user