Debian Codegraph @

.cargo/vendor/rgb/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.64"
15 name = "rgb"
16 version = "0.8.52"
17 authors = [
18 "Kornel LesiƄski <[email protected]>",
19 "James Forster <[email protected]>",
20 ]
21 build = false
22 include = [
23 "src/**/*",
24 "Cargo.toml",
25 "README.md",
26 "examples/*.rs",
27 "LICENSE",
28 ]
29 autolib = false
30 autobins = false
31 autoexamples = false
32 autotests = false
33 autobenches = false
34 description = """
35 `struct RGB/RGBA/etc.` for sharing pixels between crates + convenience methods for color manipulation.
36 Allows no-copy high-level interoperability. Also adds common convenience methods and implements standard Rust traits to make `RGB`/`RGBA` pixels and slices first-class Rust objects."""
37 homepage = "https://lib.rs/crates/rgb"
38 documentation = "https://docs.rs/rgb"
39 readme = "README.md"
40 keywords = [
41 "rgb",
42 "rgba",
43 "bgra",
44 "pixel",
45 "color",
46 ]
47 categories = [
48 "graphics",
49 "rust-patterns",
50 "multimedia::images",
51 ]
52 license = "MIT"
53 repository = "https://github.com/kornelski/rust-rgb"
54
55 [package.metadata.docs.rs]
56 targets = ["x86_64-unknown-linux-gnu"]
57 features = [
58 "as-bytes",
59 "serde",
60 ]
61 rustdoc-args = ["--generate-link-to-definition"]
62
63 [badges.maintenance]
64 status = "actively-developed"
65
66 [features]
67 argb = []
68 as-bytes = ["bytemuck"]
69 bytemuck = ["dep:bytemuck"]
70 checked_fns = []
71 default = [
72 "as-bytes",
73 "argb",
74 "grb",
75 ]
76 defmt-03 = ["dep:defmt"]
77 grb = []
78 serde = ["dep:serde"]
79 unstable-experimental = []
80
81 [lib]
82 name = "rgb"
83 path = "src/lib.rs"
84
85 [[example]]
86 name = "example"
87 path = "examples/example.rs"
88 required-features = ["as-bytes"]
89
90 [[example]]
91 name = "serde"
92 path = "examples/serde.rs"
93 required-features = ["serde"]
94
95 [dependencies.bytemuck]
96 version = "1.16"
97 optional = true
98
99 [dependencies.defmt]
100 version = "0.3.8"
101 optional = true
102
103 [dependencies.serde]
104 version = "1.0.200"
105 features = ["derive"]
106 optional = true
107 default-features = false
108
109 [dev-dependencies.serde_json]
110 version = "1.0.100"