forked from DioxusLabs/blitz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
87 lines (74 loc) · 3.71 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
[workspace]
# members = ["packages/dom"]
# members = ["packages/blitz", "packages/dom", "packages/dioxus-blitz"]
# exclude = ["packages/blitz", "packages/dioxus-blitz"]
members = ["packages/blitz", "packages/dom", "packages/dioxus-blitz"]
resolver = "2"
[workspace.dependencies]
style = { git = "https://github.com/dioxuslabs/stylo", branch = "enable-table-moz-center-style-adjust" }
style_config = { git = "https://github.com/dioxuslabs/stylo", branch = "enable-table-moz-center-style-adjust" }
style_traits = { git = "https://github.com/dioxuslabs/stylo", branch = "enable-table-moz-center-style-adjust" }
style_dom = { git = "https://github.com/dioxuslabs/stylo", package = "dom", branch = "enable-table-moz-center-style-adjust" }
selectors = { git = "https://github.com/dioxuslabs/stylo", branch = "enable-table-moz-center-style-adjust" }
html5ever = "0.27" # needs to match stylo markup5ever version
taffy = { git = "https://github.com/dioxuslabs/taffy", rev = "950a0eb1322f15e5d1083f4793b55d52061718de" }
parley = { git = "https://github.com/nicoburns/parley", rev = "029bf1df3e1829935fa6d25b875d3138f79a62c1" }
dioxus = { git = "https://github.com/dioxuslabs/dioxus", rev = "a3aa6ae771a2d0a4d8cb6055c41efc0193b817ef"}
dioxus-ssr = { git = "https://github.com/dioxuslabs/dioxus", rev = "a3aa6ae771a2d0a4d8cb6055c41efc0193b817ef" }
tokio = { version = "1.25.0", features = ["full"] }
tracing = "0.1.40"
vello = { version = "0.2", features = ["wgpu"] }
peniko = { version = "0.1" }
# fello = { git = "https://github.com/linebender/vello" }
wgpu = "0.20"
# 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
# Need to force specific versions of these dependencies
[dev-dependencies]
# webrender = "0.61.0"
# mozbuild = "0.1.0"
blitz = { path = "./packages/blitz" }
blitz-dom = { path = "./packages/dom" }
comrak = { version = "0.21.0", default-features = false }
dioxus-blitz = { path = "./packages/dioxus-blitz" }
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"
# [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" }