forked from linebender/vello
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
72 lines (59 loc) · 1.87 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[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 wpgu 0.18
"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 }
skrifa = { 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 }
# Note: we pick up a kurbo dependency transitively through peniko.
# However, we need at least version 0.10.4 for proper stroking.
# Next time we bump peniko, this can be removed.
kurbo = "0.10.4"
[workspace.dependencies]
bytemuck = { version = "1.12.1", features = ["derive"] }
skrifa = "0.15.4"
peniko = { git = "https://github.com/linebender/peniko", rev = "8717635681dedfab3e9f3741fcbc7f3318a82ff0" }
# NOTE: Make sure to keep this in sync with the version badge in README.md
wgpu = { version = "0.18" }
# 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.15"