rgb 0.8.50

`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.
Documentation
[badges.maintenance]
status = "actively-developed"

[dependencies.bytemuck]
optional = true
version = "1.16"

[dependencies.defmt]
optional = true
version = "0.3.8"

[dependencies.serde]
default-features = false
features = ["derive"]
optional = true
version = "1.0.200"

[dev-dependencies.serde_json]
version = "1.0.100"

[[example]]
name = "example"
path = "examples/example.rs"
required-features = ["as-bytes"]

[[example]]
name = "serde"
path = "examples/serde.rs"
required-features = ["serde"]

[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 = []

[lib]
name = "rgb"
path = "src/lib.rs"

[package]
authors = ["Kornel LesiƄski <kornel@geekhood.net>", "James Forster <james.forsterer@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["graphics", "rust-patterns", "multimedia::images"]
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."""
documentation = "https://docs.rs/rgb"
edition = "2021"
homepage = "https://lib.rs/crates/rgb"
include = ["src/**/*", "Cargo.toml", "README.md", "examples/*.rs", "LICENSE"]
keywords = ["rgb", "rgba", "bgra", "pixel", "color"]
license = "MIT"
name = "rgb"
readme = "README.md"
repository = "https://github.com/kornelski/rust-rgb"
rust-version = "1.63"
version = "0.8.50"

[package.metadata.docs.rs]
features = ["as-bytes", "serde"]
rustdoc-args = ["--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]