This is how browsers perform color management. They treat gamma-corrected sRGB colors as if they were linear RGB. Correctness aside, this mode is introduced for legacy reasons. Most UI/UX tooling uses this color management as well, and many have created an intuition about how color should behave from interacting with a browser. This feature flag should facilitate application development with `iced` in those cases. More details: https://webcolorisstillbroken.com/
29 lines
631 B
TOML
29 lines
631 B
TOML
[package]
|
|
name = "iced_renderer"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
wgpu = ["iced_wgpu"]
|
|
image = ["iced_tiny_skia/image", "iced_wgpu?/image"]
|
|
svg = ["iced_tiny_skia/svg", "iced_wgpu?/svg"]
|
|
geometry = ["iced_graphics/geometry", "iced_tiny_skia/geometry", "iced_wgpu?/geometry"]
|
|
tracing = ["iced_wgpu?/tracing"]
|
|
web-colors = ["iced_wgpu?/web-colors"]
|
|
|
|
[dependencies]
|
|
raw-window-handle = "0.5"
|
|
thiserror = "1"
|
|
|
|
[dependencies.iced_graphics]
|
|
version = "0.8"
|
|
path = "../graphics"
|
|
|
|
[dependencies.iced_tiny_skia]
|
|
version = "0.1"
|
|
path = "../tiny_skia"
|
|
|
|
[dependencies.iced_wgpu]
|
|
version = "0.10"
|
|
path = "../wgpu"
|
|
optional = true
|