[package] name = "photocraft-testkit" version.workspace = true edition.workspace = true license.workspace = true [lints] workspace = true [dependencies] photocraft-geom = { workspace = true } photocraft-color = { workspace = true } photocraft-raster = { workspace = true } serde_json = { workspace = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] # In-process resident memory for the benchmarks (`perf`; MIT OR Apache-2.0). `always_use_statm`: # on Linux read /proc/self/statm, not /proc/self/smaps, which walks every mapping under the mmap # lock and made the 2 ms sampler thread a fifth of a large bench's CPU time. memory-stats = { version = "1.2", features = ["always_use_statm"] }