winrt-xaml 1.0.0

A Rust library for creating modern Windows UIs using WinRT and XAML with reactive data binding
Documentation
[[bench]]
name = "controls_bench"
path = "benches/controls_bench.rs"

[[bench]]
name = "infrastructure_test"
path = "benches/infrastructure_test.rs"

[[bench]]
name = "layout_bench"
path = "benches/layout_bench.rs"

[[bench]]
name = "optimized_patterns"
path = "benches/optimized_patterns.rs"

[[bench]]
harness = false
name = "reactive_bench"
path = "benches/reactive_bench.rs"
required-features = ["xaml-islands"]

[[bench]]
name = "resource_bench"
path = "benches/resource_bench.rs"

[[bench]]
name = "xaml_parser_bench"
path = "benches/xaml_parser_bench.rs"

[[bin]]
name = "memory_profile"
path = "bin/memory_profile.rs"
required-features = ["dhat-heap"]

[build-dependencies.embed-resource]
version = "2.4"

[build-dependencies.windows]
version = "0.58"

[build-dependencies.winres]
version = "0.1"

[dependencies.dhat]
optional = true
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1.19"

[dependencies.parking_lot]
version = "0.12"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
features = ["rt", "rt-multi-thread", "sync", "macros"]
version = "1"

[dependencies.windows]
features = ["Foundation", "Win32_Foundation", "Win32_System_Com", "Win32_System_WinRT", "Win32_UI_WindowsAndMessaging", "Win32_Graphics_Gdi", "Win32_System_LibraryLoader", "implement"]
version = "0.58"

[dependencies.winrt-xaml-macros]
version = "1.0.0"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.6"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.test-case]
version = "3.3"

[[example]]
name = "advanced_controls_demo"
path = "examples/advanced_controls_demo.rs"
required-features = ["xaml-islands"]

[[example]]
name = "animations_demo"
path = "examples/animations_demo.rs"
required-features = ["xaml-islands"]

[[example]]
name = "basic_window"
path = "examples/basic_window.rs"

[[example]]
name = "calculator"
path = "examples/calculator.rs"

[[example]]
name = "chat_interface"
path = "examples/chat_interface.rs"

[[example]]
name = "color_picker"
path = "examples/color_picker.rs"

[[example]]
name = "controls_demo"
path = "examples/controls_demo.rs"

[[example]]
name = "controls_showcase"
path = "examples/controls_showcase.rs"
required-features = ["xaml-islands"]

[[example]]
name = "counter"
path = "examples/counter.rs"

[[example]]
name = "counter_simple"
path = "examples/counter_simple.rs"

[[example]]
name = "form_demo"
path = "examples/form_demo.rs"

[[example]]
name = "listview_demo"
path = "examples/listview_demo.rs"
required-features = ["xaml-islands"]

[[example]]
name = "reactive_binding"
path = "examples/reactive_binding.rs"

[[example]]
name = "reactive_binding_simple"
path = "examples/reactive_binding_simple.rs"
required-features = ["xaml-islands"]

[[example]]
name = "resource_dictionary_demo"
path = "examples/resource_dictionary_demo.rs"
required-features = ["xaml-islands"]

[[example]]
name = "scrollable_list"
path = "examples/scrollable_list.rs"

[[example]]
name = "settings_panel"
path = "examples/settings_panel.rs"

[[example]]
name = "simple_window"
path = "examples/simple_window.rs"

[[example]]
name = "todo_app"
path = "examples/todo_app.rs"

[[example]]
name = "winrt_calculator_functional"
path = "examples/winrt_calculator_functional.rs"

[[example]]
name = "winrt_controls_demo"
path = "examples/winrt_controls_demo.rs"

[[example]]
name = "winrt_counter"
path = "examples/winrt_counter.rs"

[[example]]
name = "xaml_compile_time_demo"
path = "examples/xaml_compile_time_demo.rs"

[[example]]
name = "xaml_serde_demo"
path = "examples/xaml_serde_demo.rs"

[features]
default = ["xaml-islands"]
dhat-heap = ["dhat"]
uwp = []
xaml-islands = []

[lib]
name = "winrt_xaml"
path = "src/lib.rs"

[package]
authors = ["Pegasus Heavy Industries LLC"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["gui", "api-bindings", "os::windows-apis"]
description = "A Rust library for creating modern Windows UIs using WinRT and XAML with reactive data binding"
documentation = "https://docs.rs/winrt-xaml"
edition = "2021"
homepage = "https://github.com/pegasusheavy/winrt-xaml"
keywords = ["winrt", "xaml", "ui", "windows", "gui"]
license = "MIT OR Apache-2.0"
name = "winrt-xaml"
readme = "README.md"
repository = "https://github.com/pegasusheavy/winrt-xaml"
rust-version = "1.70"
version = "1.0.0"

[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc", "i686-pc-windows-msvc"]

[profile.bench]
debug = 2

[profile.release]
debug = 2

[target.'cfg(not(target_os = "none"))'.dev-dependencies.quick-xml]
features = ["serialize"]
version = "0.37"

[target.'cfg(not(target_os = "none"))'.dev-dependencies.serde]
features = ["derive"]
version = "1.0"

[[test]]
name = "advanced_integration_tests"
path = "tests/advanced_integration_tests.rs"

[[test]]
name = "animation_tests"
path = "tests/animation_tests.rs"

[[test]]
name = "app_tests"
path = "tests/app_tests.rs"

[[test]]
name = "comprehensive_xaml_native_tests"
path = "tests/comprehensive_xaml_native_tests.rs"

[[test]]
name = "controls_tests"
path = "tests/controls_tests.rs"

[[test]]
name = "error_tests"
path = "tests/error_tests.rs"

[[test]]
name = "events_tests"
path = "tests/events_tests.rs"

[[test]]
name = "ffi_error_handling_tests"
path = "tests/ffi_error_handling_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "layout_tests"
path = "tests/layout_tests.rs"

[[test]]
name = "media_tests"
path = "tests/media_tests.rs"

[[test]]
name = "reactive_tests"
path = "tests/reactive_tests.rs"

[[test]]
name = "resource_dictionary_tests"
path = "tests/resource_dictionary_tests.rs"

[[test]]
name = "resources_tests"
path = "tests/resources_tests.rs"

[[test]]
name = "styling_tests"
path = "tests/styling_tests.rs"

[[test]]
name = "window_tests"
path = "tests/window_tests.rs"

[[test]]
name = "xaml_islands_tests"
path = "tests/xaml_islands_tests.rs"

[[test]]
name = "xaml_native_tests"
path = "tests/xaml_native_tests.rs"