[[bench]]
harness = false
name = "allocations"
path = "benches/allocations.rs"
[[bench]]
harness = false
name = "string_bench"
path = "benches/string_bench.rs"
[[bin]]
name = "cpu-profile"
path = "src/bin/cpu_profile.rs"
[[bin]]
name = "ergonomic-windows"
path = "src/main.rs"
[[bin]]
name = "memory-profile"
path = "src/bin/memory_profile.rs"
required-features = ["dhat-heap"]
[dependencies.dhat]
optional = true
version = "0.3"
[dependencies.thiserror]
version = "1.0"
[dependencies.webview2-com]
optional = true
version = "0.33"
[dependencies.windows]
features = ["Win32_Foundation", "Win32_System_Threading", "Win32_System_ProcessStatus", "Win32_Security", "Win32_Security_Authorization", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_Registry", "Win32_System_LibraryLoader", "Win32_System_Diagnostics_Debug", "Win32_System_SystemInformation", "Win32_System_Memory", "Win32_System_Environment", "Win32_System_Pipes", "Win32_System_Console", "Win32_System_Time", "Win32_System_Performance", "Win32_System_Power", "Win32_System_SystemServices", "Win32_System_Com", "Win32_UI_WindowsAndMessaging", "Win32_UI_Input_KeyboardAndMouse", "Win32_UI_Shell", "Win32_UI_Controls", "Win32_Graphics_Gdi", "Win32_Graphics_Direct2D", "Win32_Graphics_Direct2D_Common", "Win32_Graphics_DirectWrite", "Win32_Graphics_Dxgi", "Win32_Graphics_Dxgi_Common", "Win32_Graphics_Imaging", "Win32_Graphics_Imaging_D2D", "Foundation_Numerics", "Win32_Globalization", "Win32_Networking_WinSock", "Win32_NetworkManagement_IpHelper"]
version = "0.58"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.tracking-allocator]
version = "0.4"
[features]
default = []
dhat-heap = ["dhat"]
webview2 = ["webview2-com"]
[lib]
name = "ergonomic_windows"
path = "src/lib.rs"
[package]
authors = ["Pegasus Heavy Industries LLC"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["os::windows-apis", "api-bindings", "gui", "graphics"]
description = "Ergonomic, safe Rust wrappers for Windows APIs - handles, processes, registry, file system, UI controls, Direct2D graphics, and more"
documentation = "https://docs.rs/ergonomic-windows"
edition = "2021"
exclude = ["docs/", ".github/", ".cursor/", ".vscode/", "fuzz/", "*.svg", "flamegraph.svg", "perf.data*", "dhat-heap.json", "target/", "TODO.md", "tests/fixtures/"]
homepage = "https://pegasusheavy.github.io/ergonomic-windows/"
keywords = ["windows", "win32", "ffi", "direct2d", "ui"]
license = "MIT OR Apache-2.0"
name = "ergonomic-windows"
readme = "README.md"
repository = "https://github.com/pegasusheavy/ergonomic-windows"
rust-version = "1.82"
version = "0.1.0"
[profile.profiling]
debug = 2
inherits = "release"
strip = false
[profile.release]
debug = 2