-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathCargo.toml
More file actions
86 lines (74 loc) · 1.6 KB
/
Copy pathCargo.toml
File metadata and controls
86 lines (74 loc) · 1.6 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[workspace]
resolver = "2"
members = [
"crates/types",
"crates/keyframe",
"crates/audio-engine",
"crates/compositor",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/tooscut/tooscut"
[workspace.dependencies]
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Math
glam = { version = "0.29", features = ["serde"] }
# WASM
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
tsify-next = { version = "0.5", features = ["js"] }
web-sys = { version = "0.3", features = [
"console",
"Window",
"Document",
"HtmlCanvasElement",
"OffscreenCanvas",
"HtmlVideoElement",
"ImageBitmap",
"WebGl2RenderingContext",
"GpuDevice",
"GpuAdapter",
"GpuQueue",
"GpuCanvasContext",
"GpuTexture",
"GpuTextureView",
"GpuBuffer",
"GpuBindGroup",
"GpuRenderPipeline",
"GpuCommandEncoder",
"GpuRenderPassEncoder",
"Navigator",
"Gpu",
]}
serde-wasm-bindgen = "0.6"
# GPU
wgpu = { version = "24", default-features = false, features = ["webgpu", "webgl", "wgsl"] }
bytemuck = { version = "1.14", features = ["derive"] }
# Text rendering
glyphon = "0.8"
cosmic-text = "0.12"
# Async
futures = "0.3"
async-trait = "0.1"
# Error handling
thiserror = "2"
anyhow = "1"
# Logging
log = "0.4"
console_log = "1"
console_error_panic_hook = "0.1"
# Internal crates
tooscut-types = { path = "crates/types" }
tooscut-keyframe = { path = "crates/keyframe" }
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
panic = "abort"
[profile.dev]
opt-level = 1