[package] name = "winver" version = "1.0.0" edition = "2021" rust-version = "1.65.0" # For let-else statement authors = ["rhysd "] description = """ winver is a tiny crate to detect real OS version on Windows depending on windows crate only. There are several ways to get Windows OS version and each of them has its pitfall. This crate provides API to get the version more easily and safely avoiding the pitfalls. """ license = "MIT" homepage = "https://github.com/rhysd/winver#readme" repository = "https://github.com/rhysd/winver" readme = "README.md" documentation = "https://docs.rs/winver/latest/winver/" include = [ "/src", "/LICENSE", "/README.md", ] categories = ["os::windows-apis"] keywords = ["windows", "os", "version"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies.windows] version = "0.48.0" default-features = false features = [ "Win32_System_LibraryLoader", "Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_SystemInformation", "Win32_System_Com", "Win32_Security", "Win32_System_Wmi", "Win32_System_Rpc", "Win32_System_Ole", ] [package.metadata.docs.rs] default-target = "x86_64-pc-windows-msvc" targets = ["aarch64-pc-windows-msvc", "i686-pc-windows-msvc", "x86_64-pc-windows-msvc"]