[package] name = "cargo-ux" version = "0.1.0" authors = ["Victor Dudochkin "] readme = "README.md" homepage = "https://angular-rust.github.io/cargo-ux" repository = "https://github.com/angular-rust/cargo-ux" documentation = "https://docs.rs/cargo-ux" description = "Cargo plugin to help develop UX framework applications" # keywords = ["gamedev", "graphics"] categories = ["command-line-utilities", "development-tools::cargo-plugins"] edition = "2018" license = "GPL-3.0" [badges] maintenance = { status = "actively-developed" } [features] web = ["wasm-bindgen", "wasm-bindgen-futures", "wasm-logger", "gloo", "js-sys", "wasm-bindgen-test"] cairo = ["cairo-rs", "png"] default = ["cairo"] [dependencies] log = "0.4" png = { version = "0.16", optional = true } cairo-rs = { version = "0.9", features = ["png"], optional = true } wasm-bindgen = { version = "0.2", optional = true } wasm-bindgen-futures = { version = "0.4", optional = true } wasm-logger = { version = "0.2", optional = true } gloo = { version = "0.2", optional = true } js-sys = { version = "0.3", optional = true } wasm-bindgen-test = { version = "0.3", optional = true } [dependencies.web-sys] version = "0.3" optional = true features = [ 'KeyboardEvent', "ValidityState", "CustomEvent", "Node", "Element", "HtmlElement", "Window", "Document", ] [dev-dependencies] # [[example]] # name = "web-example" # # crate-type = ["staticlib"] # required-features = ["web"] # [[example]] # name = "cairo-example" # required-features = ["cairo"]