Reliable OS version information without an application manifest.
- 馃摝 crates.io
- 馃摉 docs.rs
- 馃殌 Getting started
- 馃搧 Source
windows-version reports the real operating system version even when the process has no version
manifest - useful for feature detection. OsVersion implements Ord, so you can compare against a
minimum build, and is_server distinguishes Windows Server releases.
The remainder of this page covers how the crate is built and maintained. It is for contributors and
is not needed to use windows-version.
src/bindings.rs is generated by tool_bindings from crates/tools/bindings/src/version.txt;
OsVersion and the comparison logic are hand-written.
Run cargo test -p windows-version; see also the workspace test crates.