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",
|
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" }
|
|
|
|
kurbo = "0.9.1"
|
|
|
|
|
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/"]
|
|
|
|
publish = false # Until it's ready
|
|
|
|
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"]
|
|
|
|
|
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
|
|
|
|
|
|
|
x11 = ["glazier/x11"]
|
|
|
|
wayland = ["glazier/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
|
2023-11-28 23:26:48 +08:00
|
|
|
taffy = { git = "https://github.com/DioxusLabs/taffy", rev = "7781c70241f7f572130c13106f2a869a9cf80885", optional = true }
|
2023-08-08 05:15:13 +08:00
|
|
|
vello = { git = "https://github.com/linebender/vello", rev = "9d7c4f00d8db420337706771a37937e9025e089c" }
|
2023-08-07 22:03:01 +08:00
|
|
|
wgpu = "0.17.0"
|
2023-05-11 02:04:51 +08:00
|
|
|
parley = { git = "https://github.com/dfrg/parley", rev = "2371bf4b702ec91edee2d58ffb2d432539580e1e" }
|
2022-11-17 05:54:17 +08:00
|
|
|
tokio = { version = "1.21", 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-07-31 21:46:46 +08:00
|
|
|
accesskit = "0.11"
|
2023-02-04 00:56:11 +08:00
|
|
|
fnv = "1.0.7"
|
2023-01-14 12:56:24 +08:00
|
|
|
|
|
|
|
[dependencies.glazier]
|
|
|
|
git = "https://github.com/linebender/glazier"
|
2023-07-31 21:46:46 +08:00
|
|
|
rev = "19a01ba8a97f15bf499ac64e6ea9690d7390deb5"
|
2023-01-14 12:56:24 +08:00
|
|
|
default-features = false
|
|
|
|
features = ["accesskit"]
|
2023-07-13 16:11:02 +08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
env_logger = "0.10.0"
|
|
|
|
test-log = "0.2.11"
|