windows-token 0.1.0-dev

RAII wrappers over Win32 process/thread tokens: OpenProcessToken, DuplicateTokenEx, ImpersonateLoggedOnUser, AdjustTokenPrivileges. Drop = RevertToSelf.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "windows-token"
version = "0.1.0-dev"
authors = ["zevs"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RAII wrappers over Win32 process/thread tokens: OpenProcessToken, DuplicateTokenEx, ImpersonateLoggedOnUser, AdjustTokenPrivileges. Drop = RevertToSelf."
readme = "README.md"
keywords = [
    "windows",
    "token",
    "impersonation",
    "privilege",
    "security",
]
categories = [
    "os::windows-apis",
    "authentication",
]
license = "MIT"
repository = "https://github.com/icedracon/windows-token"

[lib]
name = "windows_token"
path = "src/lib.rs"

[[test]]
name = "sid"
path = "tests/sid.rs"

[[test]]
name = "smoke"
path = "tests/smoke.rs"

[target."cfg(windows)".dependencies.thiserror]
version = "2"

[target."cfg(windows)".dependencies.windows]
version = "0.58"
features = [
    "Win32_Security",
    "Win32_System_Threading",
    "Win32_Security_Authentication_Identity",
    "Win32_Foundation",
]

[target."cfg(windows)".dependencies.windows-core]
version = "0.58"