[package]
name = "windows-token"
version = "0.1.0-dev"
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"
readme = "README.md"
keywords = ["windows", "token", "impersonation", "privilege", "security"]
categories = ["os::windows-apis", "authentication"]
[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"