Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
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 = "2018"
14 rust-version = "1.85"
15 name = "csscolorparser"
16 version = "0.8.3"
17 authors = ["Nor Khasyatillah <[email protected]>"]
18 build = false
19 exclude = [".github/*"]
20 autolib = false
21 autobins = false
22 autoexamples = false
23 autotests = false
24 autobenches = false
25 description = "CSS color parser library"
26 documentation = "https://docs.rs/csscolorparser/"
27 readme = "README.md"
28 keywords = [
29 "color",
30 "colour",
31 "css",
32 "parser",
33 ]
34 categories = [
35 "graphics",
36 "parser-implementations",
37 "no-std",
38 ]
39 license = "MIT OR Apache-2.0"
40 repository = "https://github.com/mazznoer/csscolorparser-rs"
41
42 [package.metadata.docs.rs]
43 features = [
44 "named-colors",
45 "rust-rgb",
46 "cint",
47 "serde",
48 "std",
49 ]
50
51 [features]
52 cint = ["dep:cint"]
53 default = [
54 "named-colors",
55 "std",
56 ]
57 named-colors = [
58 "dep:phf",
59 "dep:uncased",
60 ]
61 rust-rgb = ["dep:rgb"]
62 serde = ["dep:serde"]
63 std = [
64 "phf?/std",
65 "serde?/std",
66 ]
67
68 [lib]
69 name = "csscolorparser"
70 path = "src/lib.rs"
71
72 [[example]]
73 name = "cli"
74 path = "examples/cli.rs"
75 required-features = ["named-colors"]
76
77 [[example]]
78 name = "named-colors"
79 path = "examples/named-colors.rs"
80 required-features = ["named-colors"]
81
82 [[test]]
83 name = "chrome_android"
84 path = "tests/chrome_android.rs"
85
86 [[test]]
87 name = "chromium"
88 path = "tests/chromium.rs"
89
90 [[test]]
91 name = "color"
92 path = "tests/color.rs"
93
94 [[test]]
95 name = "firefox"
96 path = "tests/firefox.rs"
97
98 [[test]]
99 name = "named_colors"
100 path = "tests/named_colors.rs"
101 required-features = ["named-colors"]
102
103 [[test]]
104 name = "parser"
105 path = "tests/parser.rs"
106
107 [[test]]
108 name = "parser2"
109 path = "tests/parser2.rs"
110
111 [[test]]
112 name = "parser_relative_color"
113 path = "tests/parser_relative_color.rs"
114
115 [dependencies.cint]
116 version = "^0.3.1"
117 optional = true
118
119 [dependencies.num-traits]
120 version = "0.2.19"
121 features = ["libm"]
122 default-features = false
123
124 [dependencies.phf]
125 version = "0.13.1"
126 features = [
127 "macros",
128 "uncased",
129 ]
130 optional = true
131 default-features = false
132
133 [dependencies.rgb]
134 version = "0.8.33"
135 optional = true
136
137 [dependencies.serde]
138 version = "1.0.139"
139 features = ["derive"]
140 optional = true
141 default-features = false
142
143 [dependencies.uncased]
144 version = "0.9.10"
145 optional = true
146 default-features = false
147
148 [dev-dependencies.serde_test]
149 version = "1.0.139"