blob: 1b828ed0394ec748d860c6d5269160451670155f [file] [edit]
[package]
name = "vello_tests"
description = "The test suite for vello_cpu and vello_gpu"
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"
required-features = ["force_support_fallback"]
[dependencies]
glifo = { workspace = true }
vello_common = { workspace = true, features = ["std", "probe"] }
vello_cpu = { workspace = true, features = ["multithreading", "std", "f32_pipeline"] }
vello_gpu = { workspace = true, features = ["text", "wgpu", "wgpu_default"] }
fearless_simd = { workspace = true }
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 = { workspace = true }
web-sys = { workspace = true, features = [
"HtmlCanvasElement",
"WebGl2RenderingContext",
"Document",
"Window",
"Element",
"HtmlElement",
"HtmlImageElement",
"Blob",
"BlobPropertyBag",
"Url",
"Response",
] }
wasm-bindgen = { workspace = true }
wasm-bindgen-futures = { workspace = true }
# Required for introspecting the built WASM binary.
wasmparser = "0.235.0"
[features]
default = ["force_support_fallback"]
force_support_fallback = ["fearless_simd/force_support_fallback"]
webgl = ["vello_gpu/webgl", "vello_gpu/probe"]
[lints]
workspace = true