windows-elevate
windows-elevate is a Windows-only crate, it provides two utility functions:
check_elevated()is used to determine whether the current process is running as elevated.elevate()is used to elevate the current process permissions.
Example
use ;