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
72
+
"fragile-send-sync-non-atomic-wasm",
73
+
"spirv",
74
+
"strict_asserts",
75
+
] }
67
76
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
77
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
78
wasm-bindgen-futures = "0.4"
70
79
js-sys = "=0.3.77"
71
-
web-sys = "=0.3.77"
80
+
web-sys = { version = "=0.3.77", features = [
81
+
"Document",
82
+
"DomRect",
83
+
"Element",
84
+
"HtmlCanvasElement",
85
+
"CanvasRenderingContext2d",
86
+
"CanvasPattern",
87
+
"OffscreenCanvas",
88
+
"OffscreenCanvasRenderingContext2d",
89
+
"TextMetrics",
90
+
"Window",
91
+
"IdleRequestOptions",
92
+
"ImageData",
93
+
"Navigator",
94
+
"Gpu",
95
+
"HtmlImageElement",
96
+
"ImageBitmapRenderingContext",
97
+
] }
72
98
winit = "0.29"
73
99
url = "2.5"
74
-
tokio = { version = "1.29", features = ["fs", "io-std"] }
100
+
tokio = { version = "1.29", features = ["fs", "macros", "io-std", "rt"] }
75
101
vello = { git = "https://github.com/linebender/vello.git", rev = "3275ec8" } # TODO switch back to stable when a release is made
76
102
resvg = "0.44"
77
103
usvg = "0.44"
78
-
rand = { version = "0.9", default-features = false }
104
+
rand = { version = "0.9", default-features = false, features = ["std_rng"] }
79
105
rand_chacha = "0.9"
80
-
glam = { version = "0.29", default-features = false, features = ["serde"] }
106
+
glam = { version = "0.29", default-features = false, features = ["serde", "scalar-math", "debug-glam-assert"] }
81
107
base64 = "0.22"
82
-
image = { version = "0.25", default-features = false, features = ["png"] }
108
+
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "bmp"] }
83
109
rustybuzz = "0.20"
84
110
pretty_assertions = "1.4.1"
85
111
fern = { version = "0.7", features = ["colored"] }
@@ -94,11 +120,22 @@ specta = { version = "2.0.0-rc.22", features = [
94
120
syn = { version = "2.0", default-features = false, features = [
95
121
"full",
96
122
"derive",
123
+
"parsing",
124
+
"printing",
125
+
"visit-mut",
126
+
"visit",
127
+
"clone-impls",
128
+
"extra-traits",
129
+
"proc-macro",
97
130
] }
98
131
kurbo = { version = "0.11.0", features = ["serde"] }
99
132
petgraph = { version = "0.7.1", default-features = false, features = [
100
133
"graphmap",
101
134
] }
135
+
half = { version = "2.4.1", default-features = false, features = ["bytemuck", "serde"] }
136
+
tinyvec = { version = "1" }
137
+
criterion = { version = "0.5", features = ["html_reports"] }
0 commit comments