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"
|
|
|
|
license = "Apache-2.0"
|
2024-05-04 04:07:12 +08:00
|
|
|
repository = "https://github.com/linebender/xilem"
|
|
|
|
homepage = "https://xilem.dev/"
|
|
|
|
|
|
|
|
[workspace.lints]
|
|
|
|
clippy.semicolon_if_nothing_returned = "warn"
|
2023-07-31 02:14:59 +08:00
|
|
|
|
|
|
|
[workspace.dependencies]
|
|
|
|
xilem_core = { version = "0.1.0", path = "crates/xilem_core" }
|
2024-05-04 04:07:12 +08:00
|
|
|
masonry = { version = "0.2.0", path = "crates/masonry" }
|
|
|
|
vello = "0.1.0"
|
|
|
|
wgpu = "0.19.3"
|
2024-02-15 07:29:46 +08:00
|
|
|
kurbo = "0.11.0"
|
2024-05-01 23:52:42 +08:00
|
|
|
parley = "0.1.0"
|
2024-05-04 04:07:12 +08:00
|
|
|
peniko = "0.1.0"
|
|
|
|
winit = "0.30.0"
|
|
|
|
tracing = "0.1.40"
|
|
|
|
smallvec = "1.13.2"
|
|
|
|
fnv = "1.0.7"
|
2024-05-07 20:57:55 +08:00
|
|
|
image = { version = "0.25.1", default-features = false }
|
2024-05-04 04:07:12 +08:00
|
|
|
instant = "0.1.6"
|
|
|
|
bitflags = "2.0.0"
|
2024-05-04 18:17:49 +08:00
|
|
|
accesskit = "0.14.0"
|
|
|
|
accesskit_winit = "0.20.0"
|
2024-03-10 00:26:02 +08:00
|
|
|
|
2022-05-20 00:01:39 +08:00
|
|
|
[package]
|
2024-05-04 04:07:12 +08:00
|
|
|
name = "xilem_classic"
|
2022-05-20 00:01:39 +08:00
|
|
|
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-05-04 04:07:12 +08:00
|
|
|
publish = false # Classic Xilem is not for publishing
|
2023-07-31 02:14:59 +08:00
|
|
|
edition.workspace = true
|
2024-05-04 04:07:12 +08:00
|
|
|
license.workspace = true
|
2023-07-31 02:14:59 +08:00
|
|
|
repository.workspace = true
|
2024-05-04 04:07:12 +08:00
|
|
|
homepage.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-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-05-01 23:52:42 +08:00
|
|
|
vello.workspace = true
|
2024-05-04 04:07:12 +08:00
|
|
|
wgpu.workspace = true
|
2024-04-26 08:23:57 +08:00
|
|
|
parley.workspace = true
|
2024-05-04 04:07:12 +08:00
|
|
|
winit.workspace = true
|
|
|
|
bitflags.workspace = true
|
|
|
|
tracing.workspace = true
|
|
|
|
fnv.workspace = true
|
|
|
|
instant = { workspace = true, features = ["wasm-bindgen"] }
|
2024-01-27 01:22:18 +08:00
|
|
|
tokio = { version = "1.35", features = ["full"] }
|
2024-05-04 04:07:12 +08:00
|
|
|
taffy = { version = "0.4.0", optional = true }
|
2022-05-25 06:32:11 +08:00
|
|
|
futures-task = "0.3"
|