blob: d0dba8cef2291f26f0b10148d04357e9288611c4 [file] [log] [blame] [edit]
# 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 = "2018"
name = "rgb"
version = "0.8.36"
authors = ["Kornel LesiƄski <[email protected]>"]
include = [
"src/**/*",
"Cargo.toml",
"README.md",
"examples/*.rs",
"LICENSE",
]
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]
targets = ["x86_64-unknown-linux-gnu"]
features = [
"argb",
"serde",
"as-bytes",
]
[[example]]
name = "serde"
required-features = ["serde"]
[[example]]
name = "example"
required-features = ["as-bytes"]
[dependencies.bytemuck]
version = "1.7.2"
optional = true
[dependencies.serde]
version = "1.0.130"
features = ["derive"]
optional = true
default-features = false
[dev-dependencies.serde_json]
version = "1.0.68"
[features]
argb = []
as-bytes = ["bytemuck"]
default = ["as-bytes"]
grb = []
[badges.maintenance]
status = "actively-developed"
[badges.travis-ci]
repository = "kornelski/rust-rgb"