| 1 |
[package] |
| 2 |
name = "semver" |
| 3 |
version = "1.0.27" |
| 4 |
authors = ["David Tolnay <[email protected]>"] |
| 5 |
categories = ["data-structures", "no-std"] |
| 6 |
description = "Parser and evaluator for Cargo's flavor of Semantic Versioning" |
| 7 |
documentation = "https://docs.rs/semver" |
| 8 |
edition = "2018" |
| 9 |
exclude = ["build.rs"] |
| 10 |
keywords = ["cargo"] |
| 11 |
license = "MIT OR Apache-2.0" |
| 12 |
repository = "https://github.com/dtolnay/semver" |
| 13 |
rust-version = "1.61" |
| 14 |
|
| 15 |
[features] |
| 16 |
default = ["std"] |
| 17 |
serde = ["dep:serde"] |
| 18 |
std = [] |
| 19 |
|
| 20 |
[dependencies] |
| 21 |
serde = { package = "serde_core", version = "1.0.220", optional = true, default-features = false } |
| 22 |
|
| 23 |
[target.'cfg(any())'.dependencies] |
| 24 |
serde = { version = "1.0.220", optional = true, default-features = false } |
| 25 |
|
| 26 |
[package.metadata.docs.rs] |
| 27 |
targets = ["x86_64-unknown-linux-gnu"] |
| 28 |
rustdoc-args = [ |
| 29 |
"--generate-link-to-definition", |
| 30 |
"--extern-html-root-url=core=https://doc.rust-lang.org", |
| 31 |
"--extern-html-root-url=alloc=https://doc.rust-lang.org", |
| 32 |
"--extern-html-root-url=std=https://doc.rust-lang.org", |
| 33 |
] |
| 34 |
|
| 35 |
[package.metadata.playground] |
| 36 |
features = ["serde"] |