xilem/Cargo.toml

73 lines
2.2 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",
"crates/masonry",
"crates/xilem_masonry",
]
[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" }
masonry = { version = "0.1.0", path = "crates/masonry" }
kurbo = "0.11.0"
winit = { version = "0.29", features = ["rwh_05"] }
vello = { git = "https://github.com/linebender/vello/", rev = "b520a35addfa6bbb37d93491d2b8236528faf3b5" }
[workspace.lints]
clippy.semicolon_if_nothing_returned = "warn"
[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"]
[lints]
workspace = true
[features]
default = ["x11", "taffy"]
x11 = ["winit/x11"]
wayland = ["winit/wayland"]
taffy = ["dep:taffy"]
[dependencies]
xilem_core.workspace = true
taffy = { version = "0.4.0", optional = true }
vello = "0.1.0"
wgpu = "0.19.3"
parley = { git = "https://github.com/dfrg/parley", rev = "4e6109f2ff5847a72dc77971b6fa0942b8474d88" }
tokio = { version = "1.35", features = ["full"] }
futures-task = "0.3"
bitflags = "2"
tracing = "0.1.37"
fnv = "1.0.7"
instant = { version = "0.1.6", features = ["wasm-bindgen"] }
winit = { version = "0.29", features = ["rwh_05"] }