blob: 75c3a43e15cd27781043894451540ffa77c14897 [file]
[package]
name = "vello_sparse_tests"
description = "The test suite for vello_cpu and vello_hybrid"
categories = ["rendering", "graphics"]
keywords = ["2d", "vector-graphics"]
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
publish = false
autotests = false
[[test]]
name = "tests"
path = "tests/mod.rs"
[[bin]]
name = "regenerate_probe_reference"
path = "src/regenerate_probe_reference.rs"
[dependencies]
glifo = { workspace = true }
vello_common = { workspace = true, features = ["std", "probe"] }
vello_cpu = { workspace = true, features = ["multithreading", "std", "f32_pipeline"] }
vello_hybrid = { workspace = true }
fearless_simd = { workspace = true, features = [
"force_support_fallback", # We require the `force_support_callback` feature to test the fallback path.
] }
wgpu = { workspace = true, default-features = true }
pollster = { workspace = true }
vello_dev_macros = { workspace = true }
bytemuck = { workspace = true }
image = { workspace = true, features = ["png"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
skrifa = { workspace = true }
smallvec = { workspace = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
oxipng = { workspace = true, features = ["freestanding", "parallel"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-test = "0.3.64"
web-sys = { version = "0.3.91", features = [
"HtmlCanvasElement",
"WebGl2RenderingContext",
"Document",
"Window",
"Element",
"HtmlElement",
"HtmlImageElement",
"Blob",
"BlobPropertyBag",
"Url",
"Response",
] }
wasm-bindgen = "0.2.114"
wasm-bindgen-futures = "0.4.64"
# Required for introspecting the built WASM binary.
wasmparser = "0.235.0"
[features]
webgl = ["vello_hybrid/webgl", "vello_hybrid/probe"]
[lints]
workspace = true