nodejs-semver 5.0.0

A node-semver compliant semver implementation in Rust.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "nodejs-semver"
version = "5.0.0"
authors = [
    "cijiugechu <cijiugechu@gmail.com>",
    "Felipe Sere <felipesere@gmail.com>",
    "Kat Marchán <kzm@zkat.tech>",
]
build = false
exclude = ["./node-semver"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A node-semver compliant semver implementation in Rust."
documentation = "https://docs.rs/nodejs-semver"
readme = "README.md"
keywords = [
    "semver",
    "parser",
    "npm",
    "nodejs",
    "node",
]
categories = [
    "parser-implementations",
    "data-structures",
    "value-formatting",
]
license = "Apache-2.0"
repository = "https://github.com/cijiugechu/nodejs-semver"

[features]
default = []
serde = ["dep:serde"]

[lib]
name = "nodejs_semver"
path = "src/lib.rs"

[[example]]
name = "diff"
path = "examples/diff.rs"

[[example]]
name = "into"
path = "examples/into.rs"

[[example]]
name = "max_satisfying"
path = "examples/max_satisfying.rs"

[[example]]
name = "min_satisfying"
path = "examples/min_satisfying.rs"

[[example]]
name = "parse"
path = "examples/parse.rs"

[[example]]
name = "serde"
path = "examples/serde.rs"
required-features = ["serde"]

[[bench]]
name = "parser"
path = "benches/parser.rs"
harness = false

[dependencies.bytecount]
version = "0.6.9"

[dependencies.miette]
version = "7.6"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.smallvec]
version = "1.15"

[dependencies.thiserror]
version = "2.0"

[dependencies.winnow]
version = "0.7"

[dev-dependencies.criterion]
version = "0.5.1"
features = ["html_reports"]

[dev-dependencies.pretty_assertions]
version = "1.4.0"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"