-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (64 loc) · 1.88 KB
/
Cargo.toml
File metadata and controls
73 lines (64 loc) · 1.88 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
[package]
name = "graph-craft"
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
authors.workspace = true
[features]
default = ["dealloc_nodes", "wgpu", "loading"]
dealloc_nodes = ["core-types/dealloc_nodes"]
wgpu = ["wgpu-executor"]
tokio = ["dep:tokio"]
loading = ["serde_json"]
wasm = [
"core-types/wasm",
"graphic-types/wasm",
"text-nodes/wasm",
"tsify",
"wasm-bindgen",
]
[dependencies]
# Local dependencies
dyn-any = { workspace = true }
core-types = { workspace = true }
brush-nodes = { workspace = true }
graphene-core = { workspace = true }
graphene-application-io = { workspace = true }
rendering = { workspace = true }
raster-nodes = { workspace = true }
vector-nodes = { workspace = true }
graphic-types = { workspace = true }
text-nodes = { workspace = true }
# Workspace dependencies
log = { workspace = true }
glam = { workspace = true }
rustc-hash = { workspace = true }
url = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true }
# Optional workspace dependencies
wgpu-executor = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
tsify = { workspace = true, optional = true }
wasm-bindgen = { workspace = true, optional = true }
# Workspace dependencies
[target.'cfg(target_family = "wasm")'.dependencies]
web-sys = { workspace = true, features = ["Navigator", "Gpu"] }
js-sys = { workspace = true }
wasm-bindgen = { workspace = true }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
winit = { workspace = true }
[dev-dependencies]
# Workspace dependencies
graph-craft = { workspace = true, features = ["loading"] }
pretty_assertions = { workspace = true }
criterion = { workspace = true }
gungraun = { workspace = true }
# Benchmarks
[[bench]]
name = "compile_demo_art_criterion"
harness = false
[[bench]]
name = "compile_demo_art_gungraun"
harness = false