[package]
name = "viewbuilder"
version = "0.7.2"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Cross-platform UI framework"
repository = "https://github.com/matthunz/viewbuilder"
[workspace]
members = [
".",
"macros"
]
[features]
native = ["dep:winit"]
macros = ["dep:viewbuilder-macros"]
window = []
full = ["native", "macros", "window"]
[dependencies]
tokio = { version = "1.32.0", features = ["full"], optional = true }
winit = { version = "0.28.1", optional = true }
concoct = { version = "0.13.0", features = ["full"] }
viewbuilder-macros = { version = "0.2.0", optional = true }
[package.metadata.docs.rs]
features = ["full"]
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "windows"
required-features = ["native"]