# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.63" name = "rgb" version = "0.8.50" authors = [ "Kornel LesiƄski ", "James Forster ", ] build = false include = [ "src/**/*", "Cargo.toml", "README.md", "examples/*.rs", "LICENSE", ] autobins = false autoexamples = false autotests = false autobenches = false description = """ `struct RGB/RGBA/etc.` for sharing pixels between crates + convenience methods for color manipulation. 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.""" homepage = "https://lib.rs/crates/rgb" documentation = "https://docs.rs/rgb" readme = "README.md" keywords = [ "rgb", "rgba", "bgra", "pixel", "color", ] categories = [ "graphics", "rust-patterns", "multimedia::images", ] license = "MIT" repository = "https://github.com/kornelski/rust-rgb" [package.metadata.docs.rs] features = [ "as-bytes", "serde", ] rustdoc-args = ["--generate-link-to-definition"] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "rgb" path = "src/lib.rs" [[example]] name = "example" path = "examples/example.rs" required-features = ["as-bytes"] [[example]] name = "serde" path = "examples/serde.rs" required-features = ["serde"] [dependencies.bytemuck] version = "1.16" optional = true [dependencies.defmt] version = "0.3.8" optional = true [dependencies.serde] version = "1.0.200" features = ["derive"] optional = true default-features = false [dev-dependencies.serde_json] version = "1.0.100" [features] argb = [] as-bytes = ["bytemuck"] bytemuck = ["dep:bytemuck"] checked_fns = [] default = [ "as-bytes", "argb", "grb", ] defmt-03 = ["dep:defmt"] grb = [] serde = ["dep:serde"] unstable-experimental = [] [badges.maintenance] status = "actively-developed"