3 releases (breaking)
0.3.0 | Aug 6, 2023 |
---|---|
0.2.0 | Jun 24, 2023 |
0.1.0 | Jun 10, 2023 |
#6 in #elevated
849 downloads per month
Used in 11 crates
(9 directly)
16KB
356 lines
privilege
Cross-platform library for administrative permission handling.
Features
- Check Administrative Permissions: Easily determine if the current process has administrative or root permissions.
- Execute Commands with Administrative Privileges: Run commands with elevated permissions, ensuring secure and proper execution of critical operations.
Supported platform
- Linux
- macOS
- Windows
Usage
Add privilege
to your dependencies
[dependencies]
privilege = "0.3"
For more details, see examples or doc.
Dependencies
~2–15MB
~148K SLoC