Skip to content

Commit 445298e

Browse files
committed
workspace: turn most dependencies into workspace deps, no actual changes
1 parent 201aa4d commit 445298e

File tree

10 files changed

+50
-50
lines changed

10 files changed

+50
-50
lines changed

Cargo.toml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,17 @@ resolver = "2"
3131

3232
[workspace.dependencies]
3333
# Local dependencies
34-
dyn-any = { path = "libraries/dyn-any", features = ["derive", "glam", "reqwest"] }
35-
graphene-core = { path = "node-graph/gcore" }
36-
graph-craft = { path = "node-graph/graph-craft", features = ["serde"] }
37-
wgpu-executor = { path = "node-graph/wgpu-executor" }
3834
bezier-rs = { path = "libraries/bezier-rs", features = ["dyn-any"] }
39-
path-bool = { path = "libraries/path-bool", default-features = false }
35+
dyn-any = { path = "libraries/dyn-any", features = ["derive", "glam", "reqwest"] }
4036
math-parser = { path = "libraries/math-parser" }
37+
rawkit = { path = "libraries/rawkit" }
38+
path-bool = { path = "libraries/path-bool" }
39+
graphene-core = { path = "node-graph/gcore", default-features = false }
40+
graph-craft = { path = "node-graph/graph-craft", features = ["serde"] }
41+
graphene-std = { path = "node-graph/gstd" }
42+
interpreted-executor = { path = "node-graph/interpreted-executor" }
4143
node-macro = { path = "node-graph/node-macro" }
44+
wgpu-executor = { path = "node-graph/wgpu-executor" }
4245

4346
# Workspace dependencies
4447
rustc-hash = "2.0"
@@ -76,7 +79,7 @@ resvg = "0.44"
7679
usvg = "0.44"
7780
rand = { version = "0.9", default-features = false }
7881
rand_chacha = "0.9"
79-
glam = { version = "0.29", default-features = false, features = ["serde"] }
82+
glam = { version = "0.29", default-features = false, features = ["serde", "scalar-math"] }
8083
base64 = "0.22"
8184
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "bmp"] }
8285
rustybuzz = "0.20"
@@ -98,6 +101,10 @@ kurbo = { version = "0.11.0", features = ["serde"] }
98101
petgraph = { version = "0.7.1", default-features = false, features = [
99102
"graphmap",
100103
] }
104+
half = { version = "2.4.1", default-features = false, features = ["bytemuck"] }
105+
tinyvec = { version = "1" }
106+
criterion = { version = "0.5", features = ["html_reports"] }
107+
iai-callgrind = { version = "0.12.3" }
101108

102109
[profile.dev]
103110
opt-level = 1

libraries/math-parser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ lazy_static = "1.5"
1515
num-complex = "0.4"
1616

1717
[dev-dependencies]
18-
criterion = "0.5"
18+
criterion = { workspace = true }
1919

2020
[[bench]]
2121
name = "bench"

libraries/path-bool/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ resvg = "0.44"
3535
image = "0.25"
3636

3737
# Required dependencies
38-
criterion = { version = "0.5", features = ["html_reports"] }
38+
criterion = { workspace = true }
3939

4040
# Benchmarks
4141
[[bench]]

node-graph/gcore/Cargo.toml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,29 @@ serde = [
2424
]
2525

2626
[dependencies]
27+
# Local dependencies
28+
math-parser = { workspace = true }
29+
2730
# Workspace dependencies
28-
bytemuck = { workspace = true, features = ["derive"] }
31+
bytemuck = { workspace = true }
2932
node-macro = { workspace = true }
3033
num-derive = { workspace = true }
31-
num-traits = { workspace = true, default-features = false, features = ["i128"] }
34+
num-traits = { workspace = true }
3235
usvg = { workspace = true }
3336
rand = { workspace = true, default-features = false, features = ["std_rng"] }
34-
glam = { workspace = true, default-features = false, features = [
35-
"scalar-math",
36-
] }
37+
glam = { workspace = true }
3738
serde_json = { workspace = true }
38-
petgraph = { workspace = true, default-features = false, features = [
39-
"graphmap",
40-
] }
39+
petgraph = { workspace = true }
4140
rustc-hash = { workspace = true }
42-
math-parser = { path = "../../libraries/math-parser" }
4341
dyn-any = { workspace = true }
4442
ctor = { workspace = true }
4543
rand_chacha = { workspace = true }
4644
bezier-rs = { workspace = true }
4745
specta = { workspace = true }
4846
rustybuzz = { workspace = true }
4947
image = { workspace = true }
50-
51-
# Required dependencies
52-
half = { version = "2.4.1", default-features = false, features = ["bytemuck"] }
53-
tinyvec = { version = "1" }
48+
half = { workspace = true }
49+
tinyvec = { workspace = true }
5450
kurbo = { workspace = true }
5551
log = { workspace = true }
5652

node-graph/graph-craft/Cargo.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,23 @@ loading = ["serde_json", "serde"]
1515

1616
[dependencies]
1717
# Local dependencies
18-
dyn-any = { path = "../../libraries/dyn-any", features = [
18+
dyn-any = { workspace = true, features = [
1919
"log-bad-types",
2020
"rc",
21-
"glam",
2221
] }
22+
graphene-core = { workspace = true }
2323

2424
# Workspace dependencies
25-
graphene-core = { workspace = true }
2625
log = { workspace = true }
2726
glam = { workspace = true }
2827
bezier-rs = { workspace = true }
2928
specta = { workspace = true }
3029
rustc-hash = { workspace = true }
3130
url = { workspace = true }
3231
reqwest = { workspace = true }
33-
wgpu-executor = { workspace = true, optional = true }
3432

3533
# Optional workspace dependencies
34+
wgpu-executor = { workspace = true, optional = true }
3635
serde = { workspace = true, optional = true }
3736
tokio = { workspace = true, optional = true }
3837
serde_json = { workspace = true, optional = true }
@@ -50,10 +49,8 @@ winit = { workspace = true }
5049
# Workspace dependencies
5150
graph-craft = { workspace = true, features = ["loading"] }
5251
pretty_assertions = { workspace = true }
53-
54-
# Required dependencies
55-
criterion = { version = "0.5", features = ["html_reports"] }
56-
iai-callgrind = { version = "0.12.3" }
52+
criterion = { workspace = true }
53+
iai-callgrind = { workspace = true }
5754

5855
# Benchmarks
5956
[[bench]]

node-graph/graphene-cli/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ gpu = [
2020

2121
[dependencies]
2222
# Local dependencies
23-
graphene-std = { path = "../gstd", features = ["serde"] }
24-
interpreted-executor = { path = "../interpreted-executor" }
23+
graphene-core = { workspace = true }
24+
graphene-std = { workspace = true, features = ["serde"] }
25+
interpreted-executor = { workspace = true }
26+
graph-craft = { workspace = true, features = ["loading"] }
2527

2628
# Workspace dependencies
2729
log = { workspace = true }
28-
graph-craft = { workspace = true, features = ["loading"] }
29-
graphene-core = { workspace = true }
3030
futures = { workspace = true }
3131
fern = { workspace = true }
3232
chrono = { workspace = true }

node-graph/gstd/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ wayland = ["graph-craft/wayland"]
1919

2020
[dependencies]
2121
# Local dependencies
22-
dyn-any = { path = "../../libraries/dyn-any", features = ["derive", "reqwest"] }
23-
graph-craft = { path = "../graph-craft", features = ["serde"] }
24-
wgpu-executor = { path = "../wgpu-executor" }
25-
graphene-core = { path = "../gcore", default-features = false, features = ["serde"] }
22+
dyn-any = { workspace = true }
23+
graph-craft = { workspace = true, features = ["serde"] }
24+
wgpu-executor = { workspace = true }
25+
graphene-core = { workspace = true, default-features = false, features = ["serde"] }
2626

2727
# Workspace dependencies
2828
fastnoise-lite = { workspace = true }
2929
log = { workspace = true }
3030
bezier-rs = { workspace = true, features = ["serde"] }
31-
path-bool = { workspace = true, features = ["parsing"] }
32-
glam = { workspace = true, features = ["serde"] }
31+
path-bool = { workspace = true }
32+
glam = { workspace = true }
3333
node-macro = { workspace = true }
3434
reqwest = { workspace = true }
3535
futures = { workspace = true }

node-graph/interpreted-executor/Cargo.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ gpu = ["graphene-std/gpu", "graphene-std/wgpu"]
1111

1212
[dependencies]
1313
# Local dependencies
14-
graphene-std = { path = "../gstd", features = ["serde"] }
15-
graph-craft = { path = "../graph-craft" }
16-
wgpu-executor = { path = "../wgpu-executor" }
17-
18-
# Workspace dependencies
14+
graphene-std = { workspace = true, features = ["serde"] }
15+
graph-craft = { workspace = true }
16+
wgpu-executor = { workspace = true }
1917
graphene-core = { workspace = true }
2018
dyn-any = { workspace = true, features = ["log-bad-types", "glam"] }
19+
20+
# Workspace dependencies
2121
log = { workspace = true }
2222
glam = { workspace = true }
2323
futures = { workspace = true }
@@ -29,9 +29,7 @@ serde = { workspace = true, optional = true }
2929
[dev-dependencies]
3030
# Workspace dependencies
3131
graph-craft = { workspace = true, features = ["loading"] }
32-
33-
# Required dependencies
34-
criterion = { version = "0.5", features = ["html_reports"]}
32+
criterion = { workspace = true }
3533

3634
# Benchmarks
3735
[[bench]]

node-graph/node-macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ proc-macro = true
1515

1616
[dependencies]
1717
# Workspace dependencies
18-
syn = { workspace = true, features = [ "extra-traits", "full", "printing", "parsing", "clone-impls", "proc-macro", "visit-mut", "visit"] }
18+
syn = { workspace = true, features = [ "extra-traits", "printing", "parsing", "clone-impls", "proc-macro", "visit-mut", "visit"] }
1919
proc-macro2 = { workspace = true, features = [ "span-locations" ] }
2020
quote = { workspace = true }
2121
convert_case = { workspace = true }

node-graph/wgpu-executor/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ profiling = []
1010
passthrough = []
1111

1212
[dependencies]
13-
# Workspace dependencies
13+
# Local dependencies
1414
graphene-core = { workspace = true, features = ["wgpu"] }
15-
dyn-any = { workspace = true, features = ["log-bad-types", "rc", "glam"] }
15+
dyn-any = { workspace = true, features = ["log-bad-types", "rc"] }
1616
node-macro = { workspace = true }
17+
18+
# Workspace dependencies
1719
glam = { workspace = true }
1820
anyhow = { workspace = true }
1921
wgpu = { workspace = true, features = [

0 commit comments

Comments
 (0)