• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14rust-version = "1.31"
15name = "semver"
16version = "1.0.26"
17authors = ["David Tolnay <dtolnay@gmail.com>"]
18build = "build.rs"
19autolib = false
20autobins = false
21autoexamples = false
22autotests = false
23autobenches = false
24description = "Parser and evaluator for Cargo's flavor of Semantic Versioning"
25documentation = "https://docs.rs/semver"
26readme = "README.md"
27keywords = ["cargo"]
28categories = [
29    "data-structures",
30    "no-std",
31]
32license = "MIT OR Apache-2.0"
33repository = "https://github.com/dtolnay/semver"
34
35[package.metadata.docs.rs]
36rustdoc-args = [
37    "--generate-link-to-definition",
38    "--extern-html-root-url=core=https://doc.rust-lang.org",
39    "--extern-html-root-url=alloc=https://doc.rust-lang.org",
40    "--extern-html-root-url=std=https://doc.rust-lang.org",
41]
42targets = ["x86_64-unknown-linux-gnu"]
43
44[package.metadata.playground]
45features = ["serde"]
46
47[features]
48default = ["std"]
49std = []
50
51[lib]
52name = "semver"
53path = "src/lib.rs"
54
55[[test]]
56name = "test_autotrait"
57path = "tests/test_autotrait.rs"
58
59[[test]]
60name = "test_identifier"
61path = "tests/test_identifier.rs"
62
63[[test]]
64name = "test_version"
65path = "tests/test_version.rs"
66
67[[test]]
68name = "test_version_req"
69path = "tests/test_version_req.rs"
70
71[[bench]]
72name = "parse"
73path = "benches/parse.rs"
74
75[dependencies.serde]
76version = "1.0.194"
77optional = true
78default-features = false
79