2023-04-25 07:29:32 +08:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"crates/xilem_core",
|
2024-01-05 00:17:13 +08:00
|
|
|
"crates/xilem_web",
|
|
|
|
"crates/xilem_web/web_examples/counter",
|
|
|
|
"crates/xilem_web/web_examples/counter_custom_element",
|
|
|
|
"crates/xilem_web/web_examples/todomvc",
|
|
|
|
"crates/xilem_web/web_examples/mathml_svg",
|
|
|
|
"crates/xilem_web/web_examples/svgtoy",
|
2024-04-25 20:27:37 +08:00
|
|
|
"crates/masonry",
|
|
|
|
"crates/xilem_masonry",
|
2023-04-25 07:29:32 +08:00
|
|
|
]
|
|
|
|
|
2023-07-31 02:14:59 +08:00
|
|
|
[workspace.package]
|
|
|
|
edition = "2021"
|
|
|
|
homepage = "https://xilem.dev/"
|
|
|
|
repository = "https://github.com/linebender/xilem"
|
|
|
|
license = "Apache-2.0"
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
|
|
|
xilem_core = { version = "0.1.0", path = "crates/xilem_core" }
|
2024-04-25 20:27:37 +08:00
|
|
|
masonry = { version = "0.1.0", path = "crates/masonry" }
|
2024-02-15 07:29:46 +08:00
|
|
|
kurbo = "0.11.0"
|
2024-04-25 20:27:37 +08:00
|
|
|
winit = { version = "0.29", features = ["rwh_05"] }
|
|
|
|
vello = { git = "https://github.com/linebender/vello/", rev = "b520a35addfa6bbb37d93491d2b8236528faf3b5" }
|
2023-07-31 02:14:59 +08:00
|
|
|
|
2024-03-10 00:26:02 +08:00
|
|
|
[workspace.lints]
|
|
|
|
clippy.semicolon_if_nothing_returned = "warn"
|
|
|
|
|
2022-05-20 00:01:39 +08:00
|
|
|
[package]
|
|
|
|
name = "xilem"
|
|
|
|
version = "0.1.0"
|
2023-07-31 02:14:59 +08:00
|
|
|
description = "A next-generation cross-platform Rust UI framework."
|
|
|
|
keywords = ["gui", "ui", "native", "gpu", "performance"]
|
|
|
|
categories = ["gui", "graphics", "internationalization", "accessibility"]
|
|
|
|
exclude = ["/.github/"]
|
2024-04-25 20:27:37 +08:00
|
|
|
publish = false # Until it's ready
|
2023-07-31 02:14:59 +08:00
|
|
|
license.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
homepage.workspace = true
|
|
|
|
repository.workspace = true
|
2022-05-20 00:01:39 +08:00
|
|
|
|
2023-09-12 22:50:50 +08:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
default-target = "x86_64-pc-windows-msvc"
|
|
|
|
# rustdoc-scrape-examples tracking issue https://github.com/rust-lang/rust/issues/88791
|
|
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
|
|
|
|
2024-03-10 00:26:02 +08:00
|
|
|
[lints]
|
|
|
|
workspace = true
|
|
|
|
|
2022-11-22 17:12:37 +08:00
|
|
|
[features]
|
2023-11-28 23:26:48 +08:00
|
|
|
default = ["x11", "taffy"]
|
2022-11-22 17:12:37 +08:00
|
|
|
|
2024-03-01 02:45:26 +08:00
|
|
|
x11 = ["winit/x11"]
|
|
|
|
wayland = ["winit/wayland"]
|
2023-11-28 23:26:48 +08:00
|
|
|
taffy = ["dep:taffy"]
|
2022-11-22 17:12:37 +08:00
|
|
|
|
2022-05-20 00:01:39 +08:00
|
|
|
[dependencies]
|
2023-07-31 02:14:59 +08:00
|
|
|
xilem_core.workspace = true
|
2024-02-15 05:34:19 +08:00
|
|
|
taffy = { version = "0.4.0", optional = true }
|
2024-03-19 22:20:03 +08:00
|
|
|
vello = "0.1.0"
|
|
|
|
wgpu = "0.19.3"
|
2024-04-03 06:19:51 +08:00
|
|
|
parley = { git = "https://github.com/dfrg/parley", rev = "4e6109f2ff5847a72dc77971b6fa0942b8474d88" }
|
2024-01-27 01:22:18 +08:00
|
|
|
tokio = { version = "1.35", features = ["full"] }
|
2022-05-25 06:32:11 +08:00
|
|
|
futures-task = "0.3"
|
2023-07-14 01:20:50 +08:00
|
|
|
bitflags = "2"
|
2023-01-14 12:56:24 +08:00
|
|
|
tracing = "0.1.37"
|
2023-02-04 00:56:11 +08:00
|
|
|
fnv = "1.0.7"
|
2024-02-23 23:47:10 +08:00
|
|
|
instant = { version = "0.1.6", features = ["wasm-bindgen"] }
|
|
|
|
winit = { version = "0.29", features = ["rwh_05"] }
|