Files
craft-libs/crates/texture/Cargo.toml
T
dotCooCoo c0f1c226e3 craft-texture: sRGB tests check the standard only, under tests/it/
The comparisons with craft-cms, craft-mesh and craft-psd and their
dev-dependencies are removed. The tests of the pair against
IEC 61966-2-1 move to tests/it/srgb.rs, linked through tests/it/main.rs.
2026-11-25 19:25:15 -08:00

39 lines
1.1 KiB
TOML

[package]
name = "craft-texture"
description = "Bounded linear float image planes and texture sampling"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
repository.workspace = true
[features]
default = []
dds = ["dep:dds", "dep:bytemuck"]
parallel = ["dep:rayon"]
png = ["dep:craft-image-codecs"]
tiff = ["dep:craft-image-codecs"]
hdr = ["dep:craft-hdr"]
exr = ["dep:craft-exr", "craft-exr/decode"]
decode = ["png", "tiff", "hdr", "exr"]
[lints]
workspace = true
[dependencies]
craft-exr = { workspace = true, optional = true }
craft-hdr = { workspace = true, optional = true }
craft-image-codecs = { workspace = true, optional = true }
rayon = { workspace = true, optional = true }
thiserror = { workspace = true }
# Same decoder used by MaterialCraft; no parallel backend enabled.
dds = { version = "0.2.0", default-features = false, optional = true }
bytemuck = { workspace = true, optional = true }
[dev-dependencies]
png-encoder = { package = "png", version = "0.18" }
half = "2"
dds = { version = "0.2.0", default-features = false }
bytemuck = { workspace = true }