xilem/Cargo.toml

82 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",
"crates/masonry",
"crates/xilem_masonry",
]
[workspace.package]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/linebender/xilem"
homepage = "https://xilem.dev/"
[workspace.lints]
clippy.semicolon_if_nothing_returned = "warn"
[workspace.dependencies]
xilem_core = { version = "0.1.0", path = "crates/xilem_core" }
masonry = { version = "0.2.0", path = "crates/masonry" }
vello = "0.1.0"
wgpu = "0.19.3"
kurbo = "0.11.0"
parley = "0.1.0"
peniko = "0.1.0"
winit = "0.30.0"
tracing = "0.1.40"
smallvec = "1.13.2"
fnv = "1.0.7"
image = { version = "0.25.1", default-features = false }
instant = "0.1.6"
bitflags = "2.0.0"
accesskit = "0.14.0"
accesskit_winit = "0.20.0"
[package]
name = "xilem_classic"
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 # Classic Xilem is not for publishing
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
[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"]
[lints]
workspace = true
[features]
default = ["x11", "taffy"]
x11 = ["winit/x11"]
wayland = ["winit/wayland"]
taffy = ["dep:taffy"]
[dependencies]
xilem_core.workspace = true
vello.workspace = true
wgpu.workspace = true
parley.workspace = true
winit.workspace = true
bitflags.workspace = true
tracing.workspace = true
fnv.workspace = true
instant = { workspace = true, features = ["wasm-bindgen"] }
tokio = { version = "1.35", features = ["full"] }
taffy = { version = "0.4.0", optional = true }
futures-task = "0.3"