87 lines
2.0 KiB
TOML
87 lines
2.0 KiB
TOML
# 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 = "2018"
|
|
rust-version = "1.61"
|
|
name = "semver"
|
|
version = "1.0.27"
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
build = false
|
|
exclude = ["build.rs"]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Parser and evaluator for Cargo's flavor of Semantic Versioning"
|
|
documentation = "https://docs.rs/semver"
|
|
readme = "README.md"
|
|
keywords = ["cargo"]
|
|
categories = [
|
|
"data-structures",
|
|
"no-std",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/dtolnay/semver"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
rustdoc-args = [
|
|
"--generate-link-to-definition",
|
|
"--extern-html-root-url=core=https://doc.rust-lang.org",
|
|
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
|
|
"--extern-html-root-url=std=https://doc.rust-lang.org",
|
|
]
|
|
|
|
[package.metadata.playground]
|
|
features = ["serde"]
|
|
|
|
[features]
|
|
default = ["std"]
|
|
serde = ["dep:serde"]
|
|
std = []
|
|
|
|
[lib]
|
|
name = "semver"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "test_autotrait"
|
|
path = "tests/test_autotrait.rs"
|
|
|
|
[[test]]
|
|
name = "test_identifier"
|
|
path = "tests/test_identifier.rs"
|
|
|
|
[[test]]
|
|
name = "test_version"
|
|
path = "tests/test_version.rs"
|
|
|
|
[[test]]
|
|
name = "test_version_req"
|
|
path = "tests/test_version_req.rs"
|
|
|
|
[[bench]]
|
|
name = "parse"
|
|
path = "benches/parse.rs"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.220"
|
|
optional = true
|
|
default-features = false
|
|
package = "serde_core"
|
|
|
|
[target."cfg(any())".dependencies.serde]
|
|
version = "1.0.220"
|
|
optional = true
|
|
default-features = false
|