privilege

Crates.ioprivilege
lib.rsprivilege
version0.3.0
sourcesrc
created_at2023-06-10 15:33:12.260725
updated_at2023-08-06 08:48:46.60646
descriptionCross-platform library for administrative permission handling.
homepage
repositoryhttps://github.com/shellrow/privilege
max_upload_size
id886940
size22,383
shellrow (shellrow)

documentation

README

privilege Crates.io License

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.

Commit count: 28

cargo fmt