-
Notifications
You must be signed in to change notification settings - Fork 42
/
Cargo.toml
156 lines (133 loc) · 4.36 KB
/
Cargo.toml
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[workspace]
members = [
"packages/blitz-traits",
"packages/blitz-dom",
"packages/blitz-net",
"packages/blitz-renderer-vello",
"packages/dioxus-native",
"apps/wpt",
"apps/readme",
]
resolver = "2"
[workspace.package]
license = "MIT OR APACHE-2.0"
[workspace.dependencies]
# Servo dependencies
style = { version = "0.1", package = "stylo" }
style_config = { version = "0.1", package = "stylo_config" }
style_traits = { version = "0.1", package = "stylo_traits" }
style_dom = { version = "0.1", package = "stylo_dom" }
selectors = { version = "0.26", package = "stylo_selectors" }
html5ever = "0.29" # needs to match stylo markup5ever version
xml5ever = "0.20" # needs to match stylo markup5ever version
euclid = "0.22"
string_cache = "0.8.7"
atomic_refcell = "0.1.13"
app_units = "0.7.5"
# DioxusLabs dependencies
dioxus = { version = "0.6.0-alpha.3" }
dioxus-ssr = { version = "0.6.0-alpha.3" }
dioxus-cli-config = { version = "0.6.0-alpha.3" }
dioxus-devtools = { version = "0.6.0-alpha.3" }
taffy = { version = "0.6" }
# Linebender + WGPU
peniko = "0.2"
vello = { version = "0.3", features = [ "wgpu" ] }
parley = "0.2"
wgpu = "22.1.0"
# SVG dependencies
vello_svg = "0.5"
usvg = "0.44.0"
# Windowing & Input
raw-window-handle = "0.6.0"
winit = { version = "0.30.2", features = ["rwh_06"] }
accesskit_winit = "0.21.1"
accesskit = "0.15.0"
muda = "0.11.5"
arboard = "3.4.1"
keyboard-types = "0.7"
# IO & Networking
url = "2.5.0"
http = "1.1.0"
data-url = "0.3.1"
tokio = "1.25.0"
reqwest = "0.12.7"
ureq = "2.9"
# Media & Decoding
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "gif", "webp"] }
woff = "0.3.3"
html-escape = "0.2.13"
# Other dependencies
rustc-hash = "1.1.0"
bytes = "1.7.1"
slab = "0.4.9"
tracing = "0.1.40"
futures-util = "0.3.30"
futures-intrusive = "0.5.0"
thiserror = "1.0.63"
# This is a "virtual package"
# It is not meant to be published, but is used so "cargo run --example XYZ" works properly
[package]
name = "blitz-examples"
version = "0.0.1"
authors = ["Jonathan Kelley"]
edition = "2021"
description = "Top level crate for Blitz"
license = "MIT OR Apache-2.0"
keywords = ["dom", "ui", "gui", "react", "wasm"]
rust-version = "1.70.0"
publish = false
[profile.dev.package."*"]
opt-level = 2
[profile.sizeopt]
inherits = "release"
opt-level = "z"
debug = false
lto = true
codegen-units = 1
strip = true
incremental = false
# Need to force specific versions of these dependencies
[dev-dependencies]
# webrender = "0.61.0"
# mozbuild = "0.1.0"
blitz-dom = { path = "./packages/blitz-dom" }
blitz-net = { path = "./packages/blitz-net" }
blitz-traits = { path = "./packages/blitz-traits" }
blitz-renderer-vello = { path = "./packages/blitz-renderer-vello" }
dioxus-native = { path = "./packages/dioxus-native", features = ["tracing"] }
png = { version = "0.17" }
dioxus = { workspace = true }
euclid = { version = "0.22", features = ["serde"] }
reqwest = "0.11.24"
tokio = { version = "1.36.0", features = ["full"] }
tracing-subscriber = "0.3"
ureq = "2.9"
image = { workspace = true }
env_logger = {version = "0.11.5"}
# [patch.crates-io]
# [patch."https://github.com/dioxuslabs/taffy"]
# taffy = { path = "../taffy" }
# [patch."https://github.com/nicoburns/parley"]
# parley = { path = "../parley/parley" }
# fontique = { path = "../parley/fontique" }
# # need to match the patching of
# [patch."https://github.com/servo/webrender"]
# webrender_api = { git = "https://github.com/servo/servo", rev = "95931de" }
# webrender = { git = "https://github.com/servo/servo", rev = "95931de" }
# [patch.crates-io]
# webrender_api = { git = "https://github.com/servo/servo", rev = "95931de" }
# webrender = { git = "https://github.com/servo/servo", rev = "95931de" }
# webrender_api = { path = "../../../servo/third_party/webrender/webrender_api" }
# webrender = { path = "../../../servo/third_party/webrender/webrender" }
# webrender_api = { path = "../../../servo/third_party/webrender/webrender_api" }
# webrender = { path = "../../../servo/third_party/webrender/webrender" }
# [patch."https://github.com/servo/webrender"]
# webrender_api = { path = "../servo/third_party/webrender/webrender_api" }
# webrender = { path = "../servo/third_party/webrender/webrender" }
# [patch.crates-io]
# webrender_api = { path = "../servo/third_party/webrender/webrender_api" }
# webrender = { path = "../servo/third_party/webrender/webrender" }
[dependencies]
log = "0.4.22"
regex = "1.11.1"