mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 22:42:46 +00:00
21 lines
711 B
TOML
21 lines
711 B
TOML
[package]
|
|
name = "craft-raster-codecs"
|
|
description = "Small raster image formats, one module each: DDS (with BC1-BC3), DICOM, FITS, IFF/ILBM, PCX, PNM/PAM/PFM and XPM, with bounded decoding."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
base64 = "0.23"
|
|
thiserror = { workspace = true }
|
|
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "bmp", "gif", "tiff", "webp"] }
|
|
|
|
# The DDS encoder compresses rows of blocks in parallel on native; wasm stays single-threaded.
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
rayon = { workspace = true }
|