Debian Codegraph @

Cargo.toml

raw symbols SCIP
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 = "2024"
14 rust-version = "1.85"
15 name = "cvss"
16 version = "2.2.0"
17 authors = ["Tony Arcieri <[email protected]>"]
18 build = false
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "Common Vulnerability Scoring System parser/serializer"
25 readme = "README.md"
26 keywords = [
27 "cvssv3",
28 "cvssv4",
29 "security",
30 "advisory",
31 "vulnerability",
32 ]
33 categories = ["parser-implementations"]
34 license = "Apache-2.0 OR MIT"
35 repository = "https://github.com/rustsec/rustsec"
36 resolver = "2"
37
38 [package.metadata.docs.rs]
39 all-features = true
40 rustdoc-args = [
41 "--cfg",
42 "docsrs",
43 ]
44
45 [features]
46 default = [
47 "std",
48 "v3",
49 "v4",
50 ]
51 std = []
52 v3 = []
53 v4 = []
54
55 [lib]
56 name = "cvss"
57 path = "src/lib.rs"
58
59 [[test]]
60 name = "base"
61 path = "tests/base.rs"
62
63 [[test]]
64 name = "redhat-v3"
65 path = "tests/redhat-v3.rs"
66
67 [[test]]
68 name = "redhat-v4"
69 path = "tests/redhat-v4.rs"
70
71 [[test]]
72 name = "uncovered-v4"
73 path = "tests/uncovered-v4.rs"
74
75 [dependencies.serde]
76 version = "1"
77 optional = true