[dependencies.bevy_math]
default-features = false
features = ["curve"]
version = "0.15.0"
[dependencies.bevy_reflect]
features = ["bevy"]
optional = true
version = "0.15.0"
[dependencies.bytemuck]
features = ["derive"]
version = "1"
[dependencies.derive_more]
default-features = false
features = ["error", "from", "display"]
version = "1"
[dependencies.encase]
default-features = false
version = "0.10"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.wgpu-types]
default-features = false
optional = true
version = "23"
[features]
default = ["bevy_reflect"]
serialize = ["serde", "bevy_math/serialize"]
[lib]
name = "bevy_color"
path = "src/lib.rs"
[lints.clippy]
alloc_instead_of_core = "warn"
doc_markdown = "warn"
manual_let_else = "warn"
match_same_arms = "warn"
ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
ref_as_ptr = "warn"
semicolon_if_nothing_returned = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
too_long_first_doc_paragraph = "allow"
type_complexity = "allow"
undocumented_unsafe_blocks = "warn"
unwrap_or_default = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
unused_qualifications = "warn"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(docsrs_dep)"]
level = "warn"
priority = 0
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Types for representing and manipulating color values"
edition = "2021"
homepage = "https://bevyengine.org"
keywords = ["bevy", "color"]
license = "MIT OR Apache-2.0"
name = "bevy_color"
readme = "README.md"
repository = "https://github.com/bevyengine/bevy"
rust-version = "1.76.0"
version = "0.15.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]