[package]
name = "windows-token"
version = "0.1.0"
edition = "2021"
license = "MIT"
authors = ["zevs"]
description = "RAII wrappers over Win32 process/thread tokens: OpenProcessToken, DuplicateTokenEx, ImpersonateLoggedOnUser, AdjustTokenPrivileges. Drop = RevertToSelf"
repository = "https://github.com/icedracon/windows-token"
homepage = "https://github.com/icedracon/windows-token"
documentation = "https://docs.rs/windows-token"
readme = "README.md"
keywords = ["windows", "token", "impersonation", "privilege", "raii"]
categories = ["os::windows-apis", "authentication", "api-bindings"]
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = [
"Win32_Security",
"Win32_System_Threading",
"Win32_Security_Authentication_Identity",
"Win32_Foundation",
] }
windows-core = "0.58"
thiserror = "2"
[lib]
name = "windows_token"
path = "src/lib.rs"