blob: 2cc9b4ad0593956fc452f55794fc7441ffe9bd3d [file] [log] [blame]
[workspace]
resolver = "2"
members = [
"crates/encoding",
"crates/shaders",
"integrations/vello_svg",
"examples/headless",
"examples/with_winit",
# "examples/with_bevy", # Disable for now until bevy is using wgpu 0.17
"examples/run_wasm",
"examples/scenes",
]
[workspace.package]
edition = "2021"
version = "0.0.1"
license = "MIT OR Apache-2.0"
# homepage = "https://vello.dev" - Domain owned by us, but unused at present
# rust-version =
repository = "https://github.com/linebender/vello"
[package]
name = "vello"
description = "An experimental GPU compute-centric 2D renderer"
categories = ["rendering", "graphics"]
keywords = ["2d", "vector-graphics"]
# This crate is intended for publishing, but not ready yet
publish = false
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
[features]
default = ["wgpu"]
hot_reload = []
buffer_labels = []
[dependencies]
bytemuck = { workspace = true }
fello = { workspace = true }
peniko = { workspace = true }
wgpu = { workspace = true, optional = true }
raw-window-handle = "0.5"
futures-intrusive = "0.5.0"
vello_encoding = { path = "crates/encoding" }
wgpu-profiler = { workspace = true, optional = true }
[workspace.dependencies]
bytemuck = { version = "1.12.1", features = ["derive"] }
fello = { git = "https://github.com/dfrg/fount", rev = "dadbcf75695f035ca46766bfd60555d05bd421b1" }
peniko = { git = "https://github.com/linebender/peniko", rev = "629fc3325b016a8c98b1cd6204cb4ddf1c6b3daa" }
# NOTE: Make sure to keep this in sync with the version badge in README.md
wgpu = { version = "0.17" }
# Used for examples
clap = "4.1.0"
anyhow = "1.0"
instant = { version = "0.1.12", features = ["wasm-bindgen"] }
pollster = "0.3.0"
wgpu-profiler = "0.13"