[package] name = "nodejs-semver" version = "4.1.0" authors = ["cijiugechu ", "Felipe Sere ", "Kat Marchán "] description = "A node-semver compliant semver implementation in Rust." repository = "https://github.com/cijiugechu/nodejs-semver" documentation = "https://docs.rs/nodejs-semver" keywords = ["semver", "parser", "npm", "nodejs", "node"] categories = ["parser-implementations", "data-structures", "value-formatting"] license = "Apache-2.0" readme = "README.md" rust-version = "1.70.0" edition = "2021" [dependencies] miette = "7.2" winnow = "0.6" thiserror = "1.0.63" bytecount = "0.6.8" serde = { version = "1.0.204", features = ["derive"], optional = true } [dev-dependencies] pretty_assertions = "1.4.0" criterion = { version = "0.5.1", features = ["html_reports"] } serde_json = "1.0" serde = { version = "1.0.204", features = ["derive"] } [features] default = [] serde = ["dep:serde"] [[bench]] name = "parser" harness = false [[example]] name = "serde" path = "examples/serde.rs" required-features = ["serde"]