xilem/Cargo.toml

71 lines
2.1 KiB
TOML
Raw Normal View History

[workspace]
members = [
"crates/xilem_core",
"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",
]
[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"
[package]
name = "xilem"
version = "0.1.0"
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
[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"]
[features]
default = ["x11", "taffy"]
x11 = ["glazier/x11"]
wayland = ["glazier/wayland"]
taffy = ["dep:taffy"]
[dependencies]
xilem_core.workspace = true
taffy = { git = "https://github.com/DioxusLabs/taffy", rev = "7781c70241f7f572130c13106f2a869a9cf80885", optional = true }
vello = { git = "https://github.com/linebender/vello", rev = "9d7c4f00d8db420337706771a37937e9025e089c" }
wgpu = "0.17.0"
parley = { git = "https://github.com/dfrg/parley", rev = "2371bf4b702ec91edee2d58ffb2d432539580e1e" }
tokio = { version = "1.21", features = ["full"] }
futures-task = "0.3"
bitflags = "2"
tracing = "0.1.37"
accesskit = "0.11"
fnv = "1.0.7"
[dependencies.glazier]
git = "https://github.com/linebender/glazier"
rev = "19a01ba8a97f15bf499ac64e6ea9690d7390deb5"
default-features = false
features = ["accesskit"]
[dev-dependencies]
env_logger = "0.10.0"
test-log = "0.2.11"