856f865cf98d
Cargo.toml
[package]
name = "photocraft-raster"
version.workspace = true
edition.workspace = true
license.workspace = true
[lints]
workspace = true
[dependencies]
photocraft-geom = { workspace = true }
photocraft-color = { workspace = true }
serde = { workspace = true }
crc32fast = "1"
lz4_flex = { version = "0.11", default-features = false, features = ["std", "safe-encode", "safe-decode"] }
# Native only: converting a region's tiles is independent per tile, so it runs on all cores;
# sysinfo reads the physical RAM size for the memory limit.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rayon = { workspace = true }
sysinfo = { version = "=0.40.1", default-features = false, features = ["system"] }
# macOS reports capacity including purgeable space only through sysinfo's volume properties.
[target.'cfg(target_os = "macos")'.dependencies]
sysinfo = { version = "=0.40.1", default-features = false, features = ["system", "disk"] }
# statvfs on the scratch directory.
[target.'cfg(unix)'.dependencies]
rustix = { version = "1.1", default-features = false, features = ["std", "fs"] }
# Available physical memory and commit headroom (memory/system.rs) through winsafe's safe
# `GlobalMemoryStatusEx` wrapper.
[target.'cfg(windows)'.dependencies]
winsafe = { version = "=0.0.29", default-features = false, features = ["kernel"] }
[dev-dependencies]
proptest = { workspace = true }
No file is open. Choose one in the tree, or press Ctrl+O (⌘O on a Mac) to find one by name.
Syntax highlighting could not load. The unmodified read-only text remains available above.