File tree Expand file tree Collapse file tree 5 files changed +22
-28
lines changed Expand file tree Collapse file tree 5 files changed +22
-28
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,10 @@ iai-callgrind = { version = "0.12.3" }
156
156
ndarray = " 0.16.1"
157
157
strum = { version = " 0.26.3" , features = [" derive" ] }
158
158
dirs = " 6.0"
159
+ cef = " 138.5.0"
160
+ include_dir = " 0.7.4"
161
+ tracing-subscriber = { version = " 0.3.19" , features = [" env-filter" ] }
162
+ tracing = " 0.1.41"
159
163
160
164
[profile .dev ]
161
165
opt-level = 1
Original file line number Diff line number Diff line change @@ -9,25 +9,23 @@ edition = "2024"
9
9
rust-version = " 1.87"
10
10
11
11
[features ]
12
- default = [" gpu" ]
13
- gpu = [" graphite-editor/gpu" ]
12
+ # default = ["gpu"]
13
+ # gpu = ["graphite-editor/gpu"]
14
14
15
15
[dependencies ]
16
16
# Local dependencies
17
- graphite-editor = { path = " ../editor" , features = [
18
- " gpu" ,
19
- " ron" ,
20
- " vello" ,
21
- " decouple-execution" ,
22
- ] }
17
+ # graphite-editor = { path = "../editor", features = [
18
+ # "gpu",
19
+ # "ron",
20
+ # "vello",
21
+ # "decouple-execution",
22
+ # ] }
23
23
wgpu = { workspace = true }
24
24
winit = { workspace = true , features = [" serde" ] }
25
- base64.workspace = true
26
- thiserror.workspace = true
27
- pollster = " 0.3"
28
- cef = " 138.5.0"
29
- tracing-subscriber = { version = " 0.3.19" , features = [" env-filter" ] }
30
- tracing = " 0.1.41"
31
- bytemuck = { version = " 1.23.1" , features = [" derive" ] }
32
- include_dir = " 0.7.4"
33
- dirs.workspace = true
25
+ thiserror = { workspace = true }
26
+ futures = { workspace = true }
27
+ cef = { workspace = true }
28
+ include_dir = { workspace = true }
29
+ tracing-subscriber = { workspace = true }
30
+ tracing = { workspace = true }
31
+ dirs = {workspace = true }
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ impl ApplicationHandler<CustomEvent> for WinitApp {
71
71
)
72
72
. unwrap ( ) ,
73
73
) ;
74
- let graphics_state = pollster :: block_on ( GraphicsState :: new ( window. clone ( ) ) ) ;
74
+ let graphics_state = futures :: executor :: block_on ( GraphicsState :: new ( window. clone ( ) ) ) ;
75
75
76
76
self . window = Some ( window) ;
77
77
self . graphics_state = Some ( graphics_state) ;
Original file line number Diff line number Diff line change 4
4
"scripts" : {
5
5
"---------- DEV SERVER ----------" : " " ,
6
6
"start" : " cd frontend && npm start" ,
7
+ "start-desktop" : " cd frontend && npm run build-dev && cargo run -p graphite-desktop" ,
7
8
"profiling" : " cd frontend && npm run profiling" ,
8
9
"production" : " cd frontend && npm run production" ,
9
10
"---------- BUILDS ----------" : " " ,
You can’t perform that action at this time.
0 commit comments