You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# We don't have wgpu on multiple threads (yet) https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md#wgpu-types-now-send-sync-on-wasm
70
+
"fragile-send-sync-non-atomic-wasm",
71
+
"spirv",
72
+
"strict_asserts",
73
+
] }
67
74
once_cell = "1.13"# Remove when `core::cell::LazyCell` (<https://doc.rust-lang.org/core/cell/struct.LazyCell.html>) is stabilized in Rust 1.80 and we bump our MSRV
68
75
wasm-bindgen = "=0.2.100"# NOTICE: ensure this stays in sync with the `wasm-bindgen-cli` version in `website/content/volunteer/guide/project-setup/_index.md`. We pin this version because wasm-bindgen upgrades may break various things.
69
76
wasm-bindgen-futures = "0.4"
70
77
js-sys = "=0.3.77"
71
-
web-sys = "=0.3.77"
78
+
web-sys = { version = "=0.3.77", features = [
79
+
"Document",
80
+
"DomRect",
81
+
"Element",
82
+
"HtmlCanvasElement",
83
+
"CanvasRenderingContext2d",
84
+
"CanvasPattern",
85
+
"OffscreenCanvas",
86
+
"OffscreenCanvasRenderingContext2d",
87
+
"TextMetrics",
88
+
"Window",
89
+
"IdleRequestOptions",
90
+
"ImageData",
91
+
"Navigator",
92
+
"Gpu",
93
+
"HtmlImageElement",
94
+
"ImageBitmapRenderingContext",
95
+
] }
72
96
winit = "0.29"
73
97
url = "2.5"
74
-
tokio = { version = "1.29", features = ["fs", "io-std"] }
98
+
tokio = { version = "1.29", features = ["fs", "macros", "io-std", "rt"] }
75
99
vello = { git = "https://github.com/linebender/vello.git", rev = "3275ec8" } # TODO switch back to stable when a release is made
76
100
resvg = "0.44"
77
101
usvg = "0.44"
78
-
rand = { version = "0.9", default-features = false }
102
+
rand = { version = "0.9", default-features = false, features = ["std_rng"] }
79
103
rand_chacha = "0.9"
80
-
glam = { version = "0.29", default-features = false, features = ["serde"] }
104
+
glam = { version = "0.29", default-features = false, features = ["serde", "scalar-math", "debug-glam-assert"] }
81
105
base64 = "0.22"
82
-
image = { version = "0.25", default-features = false, features = ["png"] }
106
+
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "bmp"] }
83
107
rustybuzz = "0.20"
84
108
pretty_assertions = "1.4.1"
85
109
fern = { version = "0.7", features = ["colored"] }
@@ -94,11 +118,22 @@ specta = { version = "2.0.0-rc.22", features = [
94
118
syn = { version = "2.0", default-features = false, features = [
95
119
"full",
96
120
"derive",
121
+
"parsing",
122
+
"printing",
123
+
"visit-mut",
124
+
"visit",
125
+
"clone-impls",
126
+
"extra-traits",
127
+
"proc-macro",
97
128
] }
98
129
kurbo = { version = "0.11.0", features = ["serde"] }
99
130
petgraph = { version = "0.7.1", default-features = false, features = [
100
131
"graphmap",
101
132
] }
133
+
half = { version = "2.4.1", default-features = false, features = ["bytemuck", "serde"] }
134
+
tinyvec = { version = "1" }
135
+
criterion = { version = "0.5", features = ["html_reports"] }
0 commit comments