[[bench]]
harness = false
name = "signal_benchmarks"
path = "benches/signal_benchmarks.rs"
[[bin]]
name = "counter_wasm"
path = "src/bin/counter_wasm.rs"
[[bin]]
name = "serve_wasm"
path = "src/bin/serve_wasm.rs"
[dependencies.cocoa]
optional = true
version = "0.25"
[dependencies.console_error_panic_hook]
optional = true
version = "0.1"
[dependencies.eframe]
default-features = false
features = ["wgpu"]
optional = true
version = "0.29"
[dependencies.egui]
optional = true
version = "0.29"
[dependencies.egui_dock]
optional = true
version = "0.14"
[dependencies.jni]
optional = true
version = "0.21"
[dependencies.js-sys]
optional = true
version = "0.3"
[dependencies.notify]
optional = true
version = "6.0"
[dependencies.objc]
optional = true
version = "0.2"
[dependencies.png]
optional = true
version = "0.17"
[dependencies.rfd]
optional = true
version = "0.14"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.smallvec]
version = "1.13"
[dependencies.syntect]
optional = true
version = "5.0"
[dependencies.tauri]
features = ["protocol-asset"]
optional = true
version = "2.0"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1.35"
[dependencies.urlencoding]
version = "2.1"
[dependencies.uuid]
features = ["v4", "js"]
version = "1.0"
[dependencies.wasm-bindgen]
optional = true
version = "0.2"
[dependencies.web-sys]
features = ["Document", "Element", "HtmlElement", "Node", "NodeList", "Text", "Window", "EventTarget", "Event", "MouseEvent", "KeyboardEvent", "DomTokenList", "CssStyleDeclaration", "console"]
optional = true
version = "0.3"
[dependencies.windjammer-ui-macro]
version = "0.3.6"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.tokio-test]
version = "0.4"
[[example]]
name = "browser_demo"
path = "examples/browser_demo.rs"
[[example]]
name = "counter_test"
path = "examples/counter_test.rs"
[[example]]
name = "interactive_counter"
path = "examples/interactive_counter.rs"
[[example]]
name = "minimal_working"
path = "examples/minimal_working.rs"
[[example]]
name = "web_counter"
path = "examples/web_counter.rs"
[features]
all-platforms = ["web", "desktop", "mobile-ios", "mobile-android"]
default = ["web"]
desktop = ["eframe", "egui", "egui_dock", "png", "tokio", "rfd", "syntect", "notify"]
desktop-tauri = ["tauri", "tokio"]
mobile-android = ["jni"]
mobile-ios = ["objc", "cocoa"]
web = ["wasm-bindgen", "web-sys", "js-sys", "console_error_panic_hook"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "windjammer_ui"
path = "src/lib.rs"
[package]
authors = ["Jeffrey Friedman <20387583+jeffreyfriedman@users.noreply.github.com>", "Windjammer Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["gui", "web-programming", "wasm"]
description = "Cross-platform UI framework for Windjammer (Web, Desktop, Mobile)"
documentation = "https://docs.rs/windjammer-ui"
edition = "2021"
homepage = "https://github.com/jeffreyfriedman/windjammer-ui"
include = ["src/**/*", "examples/**/*", "tests/**/*", "benches/**/*", "build.rs", "Cargo.toml", "README.md", "LICENSE-MIT", "LICENSE-APACHE"]
keywords = ["ui", "framework", "cross-platform", "wasm", "tauri"]
license = "MIT OR Apache-2.0"
name = "windjammer-ui"
readme = "README.md"
repository = "https://github.com/jeffreyfriedman/windjammer-ui"
rust-version = "1.90"
version = "0.3.6"
[[test]]
name = "cross_file_trait_test"
path = "tests/cross_file_trait_test.rs"
[[test]]
name = "examples_integration_test"
path = "tests/examples_integration_test.rs"
[[test]]
name = "generated_components_test"
path = "tests/generated_components_test.rs"
[[test]]
name = "integration_ui_examples"
path = "tests/integration_ui_examples.rs"