[package]
edition = "2024"
name = "rgpui-windows"
version = "0.2.2"
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Windows 平台实现"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/launcher-rs/rgpui"
[features]
default = ["rgpui/default"]
screen-capture = [
"rgpui/screen-capture",
"scap",
]
test-support = ["rgpui/test-support"]
[lib]
name = "rgpui_windows"
path = "src/rgpui_windows.rs"
[dependencies.rgpui]
version = "0.2.2"
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.accesskit]
version = "0.24.0"
[target.'cfg(target_os = "windows")'.dependencies.accesskit_windows]
version = "0.32.1"
[target.'cfg(target_os = "windows")'.dependencies.anyhow]
version = "1.0.86"
[target.'cfg(target_os = "windows")'.dependencies.etagere]
version = "0.2"
[target.'cfg(target_os = "windows")'.dependencies.futures]
version = "0.3.32"
[target.'cfg(target_os = "windows")'.dependencies.image]
version = "0.25.1"
[target.'cfg(target_os = "windows")'.dependencies.itertools]
version = "0.14.0"
[target.'cfg(target_os = "windows")'.dependencies.log]
version = "0.4"
features = [
"kv_unstable_serde",
"serde",
]
[target.'cfg(target_os = "windows")'.dependencies.muda]
version = "0.16"
[target.'cfg(target_os = "windows")'.dependencies.parking_lot]
version = "0.12.5"
[target.'cfg(target_os = "windows")'.dependencies.rand]
version = "0.10"
[target.'cfg(target_os = "windows")'.dependencies.raw-window-handle]
version = "0.6"
[target.'cfg(target_os = "windows")'.dependencies.scap]
version = "0.0.8-zed"
optional = true
default-features = false
package = "zed-scap"
[target.'cfg(target_os = "windows")'.dependencies.smallvec]
version = "1.6"
features = [
"union",
"const_new",
]
[target.'cfg(target_os = "windows")'.dependencies.smol]
version = "2.0"
[target.'cfg(target_os = "windows")'.dependencies.uuid]
version = "1.23.1"
features = [
"v4",
"v5",
"v7",
"serde",
]
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
"Foundation_Numerics",
"Globalization_DateTimeFormatting",
"Storage_Search",
"Storage_Streams",
"System_Threading",
"UI_ViewManagement",
"Wdk_System_SystemServices",
"Win32_Foundation",
"Win32_Globalization",
"Win32_Graphics_Direct3D",
"Win32_Graphics_Direct3D11",
"Win32_Graphics_Direct3D_Fxc",
"Win32_Graphics_DirectComposition",
"Win32_Graphics_DirectWrite",
"Win32_Graphics_DirectManipulation",
"Win32_Graphics_Dwm",
"Win32_Graphics_Dxgi",
"Win32_Graphics_Dxgi_Common",
"Win32_Graphics_Gdi",
"Win32_Graphics_Imaging",
"Win32_Graphics_Hlsl",
"Win32_Networking_WinSock",
"Win32_Security",
"Win32_Security_Credentials",
"Win32_Security_Cryptography",
"Win32_Storage_FileSystem",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_Console",
"Win32_System_Diagnostics_Debug",
"Win32_System_DataExchange",
"Win32_System_IO",
"Win32_System_LibraryLoader",
"Win32_System_Memory",
"Win32_System_Ole",
"Win32_System_Performance",
"Win32_System_Pipes",
"Win32_System_RestartManager",
"Win32_System_SystemInformation",
"Win32_System_SystemServices",
"Win32_System_Threading",
"Win32_System_Variant",
"Win32_System_WinRT",
"Win32_UI_Controls",
"Win32_UI_HiDpi",
"Win32_UI_Input_Ime",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_Input_Pointer",
"Win32_UI_Shell",
"Win32_UI_Shell_Common",
"Win32_UI_Shell_PropertiesSystem",
"Win32_UI_WindowsAndMessaging",
"Win32_Media",
]
[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.62"
[target.'cfg(target_os = "windows")'.dependencies.windows-numerics]
version = "0.3"
[target.'cfg(target_os = "windows")'.dependencies.windows-registry]
version = "0.5"
[target.'cfg(target_os = "windows")'.build-dependencies.windows-registry]
version = "0.5"
[lints.clippy]
dbg_macro = "deny"
declare_interior_mutable_const = "deny"
disallowed_methods = "deny"
large_enum_variant = "allow"
let_underscore_future = "allow"
nonminimal_bool = "allow"
redundant_clone = "deny"
single_range_in_vec_init = "allow"
todo = "deny"
too_many_arguments = "allow"
type_complexity = "allow"
[lints.clippy.style]
level = "allow"
priority = -1
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0