windows-token 0.2.1

Safe Rust wrappers for Windows access tokens, privileges, duplication, and scoped impersonation, built on win32-min.
1
2
3
4
5
6
7
8
9
10
11
12
13
# windows-token

> Safe Rust ownership and workflow APIs for Windows access tokens, privileges,
> duplication, SIDs, integrity levels, and scoped impersonation.

- [README](https://github.com/icedracon/windows-token/blob/main/README.md)
- [API documentation](https://docs.rs/windows-token)
- [Ecosystem map](https://github.com/icedracon/win32-min/blob/master/ECOSYSTEM.md)
- [ABI foundation](https://github.com/icedracon/win32-min)

Dropping `ImpersonationGuard` calls `RevertToSelf`, including during unwinding.
The crate is Windows-only and does not currently expose named SID lookup,
restricted-token construction, or process creation as another user.