build: upgrade dependencies
This commit is contained in:
parent
e255c57f39
commit
2ebd47dbea
29
Cargo.toml
29
Cargo.toml
|
@ -20,20 +20,19 @@ default = ["ser"]
|
||||||
ser = ["serde", "serde_indextree", "indexmap/serde-1"]
|
ser = ["serde", "serde_indextree", "indexmap/serde-1"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytecount = "0.6.0"
|
bytecount = "0.6"
|
||||||
chrono = { version = "0.4.11", optional = true }
|
chrono = { version = "0.4", optional = true }
|
||||||
indextree = "4.0.0"
|
indextree = "4.3"
|
||||||
jetscii = "0.4.4"
|
jetscii = "0.5"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4"
|
||||||
memchr = "2.3.3"
|
memchr = "2.4"
|
||||||
# we don't need to parse any float number, so lexical crate is redundant
|
nom = { version = "7.0", default-features = false, features = ["std"] }
|
||||||
nom = { version = "5.1.1", default-features = false, features = ["std"] }
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
||||||
serde = { version = "1.0.106", optional = true, features = ["derive"] }
|
serde_indextree = { version = "0.2", optional = true }
|
||||||
serde_indextree = { version = "0.2.0", optional = true }
|
syntect = { version = "4.6", optional = true }
|
||||||
syntect = { version = "4.1.0", optional = true }
|
indexmap = { version = "1.7", features = ["serde-1"], optional = true }
|
||||||
indexmap = { version = "1.3.2", features = ["serde-1"], optional = true}
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
pretty_assertions = "0.6.1"
|
pretty_assertions = "1.0"
|
||||||
serde_json = "1.0.51"
|
serde_json = "1.0"
|
||||||
slugify = "0.1.0"
|
slugify = "0.1"
|
||||||
|
|
|
@ -221,7 +221,7 @@ fn parse_properties_drawer(
|
||||||
}
|
}
|
||||||
let (_, map) = fold_many0(
|
let (_, map) = fold_many0(
|
||||||
parse_node_property,
|
parse_node_property,
|
||||||
PropertiesMap::new(),
|
|| PropertiesMap::new(),
|
||||||
|mut acc: PropertiesMap<_, _>, (name, value)| {
|
|mut acc: PropertiesMap<_, _>, (name, value)| {
|
||||||
acc.insert(name.into(), value.into());
|
acc.insert(name.into(), value.into());
|
||||||
acc
|
acc
|
||||||
|
|
Loading…
Reference in a new issue