Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶
Source reconstructed at patch state 1 of 3 — not the installed (fully patched) source.
3 Debian patches 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.60.0"
15 name = "palette"
16 version = "0.7.6"
17 authors = ["Erik Hedvall <[email protected]>"]
18 build = "build/main.rs"
19 exclude = [
20 "scripts/*",
21 "examples/*",
22 "tests/*",
23 "regression_tests/*",
24 "benches/*",
25 "res/*",
26 ".travis.yml",
27 ".gitignore",
28 "CHANGELOG.md",
29 "CONTRIBUTING.md",
30 "version.sh",
31 ]
32 description = "Convert and manage colors with a focus on correctness, flexibility and ease of use."
33 documentation = "https://docs.rs/palette/0.7.6/palette/"
34 readme = "README.md"
35 keywords = [
36 "color",
37 "conversion",
38 "linear",
39 "pixel",
40 "rgb",
41 ]
42 categories = [
43 "graphics",
44 "multimedia::images",
45 "no-std",
46 ]
47 license = "MIT OR Apache-2.0"
48 repository = "https://github.com/Ogeon/palette"
49 resolver = "2"
50
51 [package.metadata.docs.rs]
52 all-features = true
53
54 [lib]
55 bench = false
56
57 [dependencies.approx]
58 version = "0.5"
59 optional = true
60 default-features = false
61
62 [dependencies.bytemuck]
63 version = "1"
64 optional = true
65
66 [dependencies.fast-srgb8]
67 version = "1.0.0"
68
69 [dependencies.libm]
70 version = "0.2.1"
71 optional = true
72 default-features = false
73
74 [dependencies.palette_derive]
75 version = "0.7.6"
76
77 [dependencies.phf]
78 version = "0.11.0"
79 features = ["macros"]
80 optional = true
81 default-features = false
82
83 [dependencies.rand]
84 version = "0.8"
85 optional = true
86 default-features = false
87
88 [dependencies.serde]
89 version = "1"
90 features = ["serde_derive"]
91 optional = true
92
93 [dependencies.wide]
94 version = "0.7.3"
95 optional = true
96 default-features = false
97
98 [dev-dependencies.enterpolation]
99 version = "0.2.0"
100
101 [dev-dependencies.image]
102 version = "0.23.14"
103 features = ["png"]
104 default-features = false
105
106 [dev-dependencies.rand_mt]
107 version = "4"
108 features = ["rand-traits"]
109 default-features = false
110
111 [dev-dependencies.ron]
112 version = "0.12"
113
114 [dev-dependencies.serde_json]
115 version = "1"
116
117 [features]
118 alloc = []
119 default = [
120 "named_from_str",
121 "std",
122 "approx",
123 ]
124 find-crate = ["palette_derive/find-crate"]
125 named = []
126 named_from_str = [
127 "named",
128 "phf",
129 ]
130 random = ["rand"]
131 serializing = [
132 "serde",
133 "std",
134 ]
135 std = [
136 "alloc",
137 "approx?/std",
138 ]