diff --git a/Cargo.lock b/Cargo.lock index d23a2097..e8b510fe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "aho-corasick" version = "0.7.10" @@ -743,6 +745,7 @@ dependencies = [ "pulldown-cmark", "regex", "select", + "semver", "serde", "serde_derive", "serde_json", @@ -1204,6 +1207,24 @@ dependencies = [ "markup5ever_rcdom", ] +[[package]] +name = "semver" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +dependencies = [ + "semver-parser", +] + +[[package]] +name = "semver-parser" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" +dependencies = [ + "pest", +] + [[package]] name = "serde" version = "1.0.106" diff --git a/Cargo.toml b/Cargo.toml index 6f5b364c..1824a889 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,6 +49,7 @@ ammonia = { version = "3", optional = true } [dev-dependencies] select = "0.5" +semver = "0.11.0" pretty_assertions = "0.6" walkdir = "2.0"