forked from marc2332/freya
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
126 lines (115 loc) · 4.07 KB
/
Cargo.toml
File metadata and controls
126 lines (115 loc) · 4.07 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[package]
name = "examples"
version = "0.0.0"
edition = "2021"
[workspace]
members = [
"crates/renderer",
"crates/state",
"crates/freya",
"crates/elements",
"crates/components",
"crates/hooks",
"crates/common",
"crates/core",
"crates/testing",
"crates/devtools",
"crates/torin",
"crates/engine",
"./examples/installer",
"crates/native-core",
"crates/native-core-macro",
]
[features]
log = ["freya/log"]
devtools = ["freya/devtools"]
use_camera = ["freya/use_camera"]
hot-reload = ["freya/hot-reload"]
custom-tokio-rt = ["freya/custom-tokio-rt"]
performance-overlay = ["freya/performance-overlay"]
[patch.crates-io]
# dioxus = { git = "https://github.com/DioxusLabs/dioxus", rev = "7beacdf9c76ae5412d3c2bcd55f7c5d87f486a0f" }
# dioxus-rsx = { git = "https://github.com/DioxusLabs/dioxus", rev = "7beacdf9c76ae5412d3c2bcd55f7c5d87f486a0f" }
# dioxus-core-macro = { git = "https://github.com/DioxusLabs/dioxus", rev = "7beacdf9c76ae5412d3c2bcd55f7c5d87f486a0f" }
# dioxus-hooks = { git = "https://github.com/DioxusLabs/dioxus", rev = "7beacdf9c76ae5412d3c2bcd55f7c5d87f486a0f" }
# dioxus-signals = { git = "https://github.com/DioxusLabs/dioxus", rev = "7beacdf9c76ae5412d3c2bcd55f7c5d87f486a0f" }
# dioxus-core = { git = "https://github.com/DioxusLabs/dioxus", rev = "7beacdf9c76ae5412d3c2bcd55f7c5d87f486a0f" }
# dioxus-hot-reload = { git = "https://github.com/DioxusLabs/dioxus", rev = "7beacdf9c76ae5412d3c2bcd55f7c5d87f486a0f" }
# dioxus-router = { git = "https://github.com/DioxusLabs/dioxus", rev = "7beacdf9c76ae5412d3c2bcd55f7c5d87f486a0f" }
[workspace.dependencies]
freya = { path = "crates/freya", version = "0.2" }
freya-devtools = { path = "crates/devtools", version = "0.2" }
freya-node-state = { path = "crates/state", version = "0.2" }
freya-renderer = { path = "crates/renderer", version = "0.2" }
freya-elements = { path = "crates/elements", version = "0.2" }
freya-common = { path = "crates/common", version = "0.2" }
freya-hooks = { path = "crates/hooks", version = "0.2" }
freya-core = { path = "crates/core", version = "0.2" }
freya-components = { path = "crates/components", version = "0.2" }
freya-testing = { path = "crates/testing", version = "0.2" }
freya-engine = { path = "crates/engine", version = "0.2" }
torin = { path = "crates/torin", version = "0.2" }
freya-native-core-macro = { path = "crates/native-core-macro", version = "0.2" }
freya-native-core = { path = "crates/native-core", version = "0.2" }
dioxus = { version = "0.5", default-features = false, features = [
"macro",
"signals",
"hooks",
] }
dioxus-rsx = { version = "0.5", features = ["hot_reload"] }
dioxus-core-macro = { version = "0.5" }
dioxus-hooks = { version = "0.5" }
dioxus-signals = { version = "0.5" }
dioxus-core = { version = "0.5" }
dioxus-hot-reload = { version = "0.5", features = [
"file_watcher",
], default-features = false }
dioxus-router = { version = "0.5", default-features = false }
dioxus-sdk = { version = "0.5", features = ["clipboard"] }
skia-safe = { version = "0.80.1", features = ["gl", "textlayout", "svg"] }
gl = "0.14.0"
glutin = "0.32.1"
glutin-winit = "0.5.0"
raw-window-handle = "0.6.2"
winit = "0.30.5"
tokio = { version = "1.41.1", features = [
"sync",
"rt-multi-thread",
"time",
"macros",
] }
accesskit = { version = "0.17.0", features = ["serde"] }
accesskit_winit = "0.23.0"
shipyard = { version = "0.7.4", features = [
"proc",
"std",
"parallel",
], default-features = false }
smallvec = "1.13.2"
euclid = "0.22.11"
uuid = { version = "1.11.0", features = ["v4"] }
futures-util = "0.3.31"
futures-task = "0.3.31"
tracing = "0.1"
tracing-subscriber = "0.3.18"
rustc-hash = "2.0.0"
[dev-dependencies]
skia-safe = { workspace = true }
tokio = { workspace = true, features = ["fs"] }
dioxus = { workspace = true }
freya = { workspace = true }
freya-core = { workspace = true }
freya-testing = { workspace = true }
reqwest = { version = "0.12.9", features = ["json"] }
serde = "1.0.215"
dioxus-i18n = "0.2.5"
rand = "0.8.5"
dioxus-router = { workspace = true }
itertools = "0.13.0"
home = "0.5.9"
dioxus-query = "0.5.1"
gilrs = "0.11.0"
gl = { workspace = true }
[profile.release]
lto = true
opt-level = 3