privilege 0.3.0

Cross-platform library for administrative permission handling.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod shared;
pub use self::shared::*;

#[cfg(not(target_os = "windows"))]
mod unix;
#[cfg(not(target_os = "windows"))]
pub(crate) use self::unix::*;

#[cfg(any(target_os = "macos", target_os = "ios"))]
mod macos;
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub(crate) use self::macos::*;

#[cfg(target_os = "windows")]
mod windows;
#[cfg(target_os = "windows")]
pub(crate) use self::windows::*;