sys: introduce 'acl', 'crypt' and 'timer' features
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
f6c7d46d04
commit
e2e7ea6d62
@ -1,5 +1,6 @@
|
||||
[package]
|
||||
name = "proxmox-sys"
|
||||
# next bump is breaking!
|
||||
version = "0.3.2"
|
||||
authors = ["Proxmox Support Team <support@proxmox.com>"]
|
||||
edition = "2018"
|
||||
@ -32,3 +33,6 @@ proxmox-time = { path = "../proxmox-time", version = "1.0.0" }
|
||||
default = []
|
||||
sortable-macro = ["proxmox-sortable-macro"]
|
||||
logrotate = ["zstd"]
|
||||
acl = []
|
||||
crypt = []
|
||||
timer = []
|
||||
|
@ -8,6 +8,7 @@ use nix::sys::stat;
|
||||
use nix::unistd::{Gid, Uid};
|
||||
use std::os::unix::io::{AsRawFd, RawFd};
|
||||
|
||||
#[cfg(feature = "acl")]
|
||||
pub mod acl;
|
||||
|
||||
mod file;
|
||||
|
@ -1,6 +1,7 @@
|
||||
use std::os::unix::ffi::OsStrExt;
|
||||
|
||||
pub mod command;
|
||||
#[cfg(feature = "crypt")]
|
||||
pub mod crypt;
|
||||
pub mod email;
|
||||
pub mod error;
|
||||
|
@ -9,6 +9,7 @@ pub mod pid;
|
||||
pub mod procfs;
|
||||
pub mod pty;
|
||||
pub mod socket;
|
||||
#[cfg(feature = "timer")]
|
||||
pub mod timer;
|
||||
pub mod tty;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user