Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/crates/bevy_color/Cargo.toml
6595 views
1
[package]
2
name = "bevy_color"
3
version = "0.17.0-dev"
4
edition = "2024"
5
description = "Types for representing and manipulating color values"
6
homepage = "https://bevy.org"
7
repository = "https://github.com/bevyengine/bevy"
8
license = "MIT OR Apache-2.0"
9
keywords = ["bevy", "color"]
10
rust-version = "1.85.0"
11
12
[dependencies]
13
bevy_math = { path = "../bevy_math", version = "0.17.0-dev", default-features = false, features = [
14
"curve",
15
] }
16
bevy_reflect = { path = "../bevy_reflect", version = "0.17.0-dev", default-features = false, optional = true }
17
bytemuck = { version = "1", features = ["derive"] }
18
serde = { version = "1.0", features = [
19
"derive",
20
], default-features = false, optional = true }
21
thiserror = { version = "2", default-features = false }
22
derive_more = { version = "2", default-features = false, features = ["from"] }
23
wgpu-types = { version = "26", default-features = false, optional = true }
24
encase = { version = "0.11", default-features = false, optional = true }
25
26
[features]
27
default = ["std", "bevy_reflect", "encase"]
28
std = [
29
"alloc",
30
"bevy_math/std",
31
"serde?/std",
32
"wgpu-types?/std",
33
"bevy_reflect?/std",
34
]
35
alloc = ["bevy_math/alloc", "serde?/alloc"]
36
serialize = ["serde", "bevy_math/serialize"]
37
bevy_reflect = ["dep:bevy_reflect"]
38
wgpu-types = ["dep:wgpu-types"]
39
encase = ["dep:encase", "std"]
40
libm = ["bevy_math/libm"]
41
critical-section = ["bevy_reflect?/critical-section"]
42
43
[lints]
44
workspace = true
45
46
[package.metadata.docs.rs]
47
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
48
all-features = true
49
50