sys: introduce 'acl', 'crypt' and 'timer' features

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-07-21 15:41:46 +02:00
parent f6c7d46d04
commit e2e7ea6d62
4 changed files with 7 additions and 0 deletions

View File

@ -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 = []

View File

@ -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;

View 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;

View File

@ -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;