-
Notifications
You must be signed in to change notification settings - Fork 49
/
Cargo.toml
137 lines (122 loc) · 4.05 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
[workspace]
members = [
"packages/blitz-traits",
"packages/blitz-dom",
"packages/blitz-html",
"packages/blitz-net",
"packages/blitz-renderer-vello",
"packages/blitz-shell",
"packages/blitz",
"packages/dioxus-native",
"packages/stylo_taffy",
"apps/wpt",
"apps/readme",
"examples/counter",
]
resolver = "2"
[workspace.package]
license = "MIT OR Apache-2.0"
[workspace.dependencies]
# Servo dependencies
style = { git = "https://github.com/nicoburns/stylo", rev = "61c02a463", package = "style" } # u64-opaque-element
style_config = { git = "https://github.com/nicoburns/stylo", rev = "61c02a463", package = "style_config" } # u64-opaque-element
style_traits = { git = "https://github.com/nicoburns/stylo", rev = "61c02a463", package = "style_traits" } # u64-opaque-element
style_dom = { git = "https://github.com/nicoburns/stylo", rev = "61c02a463", package = "dom" } # u64-opaque-element
selectors = { git = "https://github.com/nicoburns/stylo", rev = "61c02a463", package = "selectors" } # u64-opaque-element
markup5ever = "0.14" # needs to match stylo markup5ever version
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" }
dioxus-core = { version = "0.6" }
dioxus-html = { version = "0.6" }
dioxus-cli-config = { version = "0.6" }
dioxus-devtools = { version = "0.6" }
taffy = { version = "0.7.1", default-features = false, features = ["std", "flexbox", "grid", "block_layout", "content_size"] }
# Linebender + WGPU
peniko = "0.2"
vello = { version = "0.3", features = [ "wgpu" ] }
parley = { version = "0.2", git = "https://github.com/linebender/parley", rev = "4efc335cc2bf8aa30d746b42a5907a476c85553f" }
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 = { version = "0.11.5", default-features = false }
arboard = { version = "3.4.1", default-features = false }
keyboard-types = "0.7"
cursor-icon = "1"
# IO & Networking
url = "2.5.0"
http = "1.1.0"
data-url = "0.3.1"
tokio = "1.42"
reqwest = "0.12"
# Media & Decoding
image = { version = "0.25", default-features = false }
woff2 = "0.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"
pollster = "0.4"
[profile.production]
inherits = "release"
opt-level = 3
debug = false
lto = true
codegen-units = 1
strip = true
incremental = false
[profile.sizeopt]
inherits = "production"
opt-level = "z"
panic = "abort"
# 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
[dev-dependencies]
blitz-dom = { path = "./packages/blitz-dom" }
blitz-html = { path = "./packages/blitz-html" }
blitz-traits = { path = "./packages/blitz-traits" }
blitz-renderer-vello = { path = "./packages/blitz-renderer-vello" }
blitz-shell = { path = "./packages/blitz-shell" }
blitz-net = { path = "./packages/blitz-net" }
blitz = { path = "./packages/blitz", features = ["net"] }
dioxus-native = { path = "./packages/dioxus-native", features = ["tracing"] }
dioxus = { workspace = true }
euclid = { workspace = true }
reqwest = { workspace = true }
tokio = { workspace = true, features = ["macros"] }
image = { workspace = true }
png = "0.17"
env_logger = "0.11"
tracing-subscriber = "0.3"
# [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" }