Debian Codegraph @

debian/rust-vendor/semver/Cargo.toml

raw
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]
13 edition = "2021"
14 rust-version = "1.68"
15 name = "semver"
16 version = "1.0.28"
17 authors = ["David Tolnay <[email protected]>"]
18 build = false
19 exclude = ["build.rs"]
20 autolib = false
21 autobins = false
22 autoexamples = false
23 autotests = false
24 autobenches = false
25 description = "Parser and evaluator for Cargo's flavor of Semantic Versioning"
26 documentation = "https://docs.rs/semver"
27 readme = "README.md"
28 keywords = ["cargo"]
29 categories = [
30 "data-structures",
31 "no-std",
32 ]
33 license = "MIT OR Apache-2.0"
34 repository = "https://github.com/dtolnay/semver"
35
36 [package.metadata.docs.rs]
37 features = ["serde"]
38 targets = ["x86_64-unknown-linux-gnu"]
39 rustdoc-args = [
40 "--generate-link-to-definition",
41 "--generate-macro-expansion",
42 "--extern-html-root-url=core=https://doc.rust-lang.org",
43 "--extern-html-root-url=alloc=https://doc.rust-lang.org",
44 "--extern-html-root-url=std=https://doc.rust-lang.org",
45 ]
46
47 [package.metadata.playground]
48 features = ["serde"]
49
50 [features]
51 default = ["std"]
52 serde = ["dep:serde"]
53 std = []
54
55 [lib]
56 name = "semver"
57 path = "src/lib.rs"
58
59 [[test]]
60 name = "test_autotrait"
61 path = "tests/test_autotrait.rs"
62
63 [[test]]
64 name = "test_identifier"
65 path = "tests/test_identifier.rs"
66
67 [[test]]
68 name = "test_version"
69 path = "tests/test_version.rs"
70
71 [[test]]
72 name = "test_version_req"
73 path = "tests/test_version_req.rs"
74
75 [[bench]]
76 name = "parse"
77 path = "benches/parse.rs"
78 harness = false
79
80 [dependencies.serde]
81 version = "1.0.220"
82 optional = true
83 default-features = false
84 package = "serde_core"
85
86 [target."cfg(any())".dependencies.serde]
87 version = "1.0.220"
88 optional = true
89 default-features = false
90
91 [target."cfg(not(miri))".dev-dependencies.criterion]
92 version = "0.8"
93 default-features = false