# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80.1" name = "win-wrap" version = "0.2.9" authors = ["mzdk100 "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "用于Rust的Windows API的高级封装" readme = "README.md" license = "Apache-2.0" repository = "https://gitcode.net/mzdk100/win-wrap.git" [package.metadata.docs.rs] all-features = true default-target = "x86_64-pc-windows-msvc" rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", "--generate-link-to-definition", ] [lib] name = "win_wrap" path = "src/lib.rs" [dependencies.windows] version = "0.58.0" optional = true [dependencies.windows-core] version = "0.58.0" optional = true [features] audio = ["windows/Win32_Media_Audio_XAudio2"] com = [ "common", "ext", "windows/Win32_System_Com", "windows/Win32_System_Ole", ] common = [ "windows/Win32_Globalization", "windows/Win32_System_Diagnostics_Debug", "windows/Win32_System_SystemServices", "windows/Win32_UI_WindowsAndMessaging", "windows/Win32_UI_Input", "windows/Win32_System_LibraryLoader", "windows/Win32_System_Threading", ] control = [ "common", "ext", "graphic", "memory", "message", "threading", "windows/Win32_Foundation", "windows/Win32_UI_Controls", "windows/Win32_UI_Controls_RichEdit", "windows/Win32_UI_Controls_Dialogs", "windows-core", ] ext = ["common"] graphic = [ "common", "ext", "windows/Win32_Graphics_Gdi", "windows/Win32_Graphics_GdiPlus", ] hook = [ "message", "threading", ] input = [ "ext", "memory", "windows/Win32_UI_Input_Ime", "windows/Win32_UI_Input_KeyboardAndMouse", "windows/Win32_UI_Controls", ] memory = ["windows/Win32_System_Memory"] message = ["common"] msaa = [ "common", "message", "input", "threading", "windows/Win32_UI_Accessibility", ] pth = ["windows/Win32_System_Performance"] registry = ["windows/Win32_System_Registry"] shell = [ "com", "input", "windows/Win32_UI_Shell", "windows/Win32_Storage_FileSystem", "windows/Win32_UI_Shell_Common", ] threading = [ "message", "windows/Win32_Security", ] tts = [ "windows/Media_SpeechSynthesis", "windows/Storage_Streams", "windows/Media_Core", "windows/Foundation_Collections", ] uia = [ "com", "msaa", "windows/Win32_UI_Accessibility", "windows/implement", "windows-core", ]