mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-03 22:03:59 +00:00
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]
|
[package]
|
||||||
name = "proxmox-sys"
|
name = "proxmox-sys"
|
||||||
|
# next bump is breaking!
|
||||||
version = "0.3.2"
|
version = "0.3.2"
|
||||||
authors = ["Proxmox Support Team <support@proxmox.com>"]
|
authors = ["Proxmox Support Team <support@proxmox.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
@ -32,3 +33,6 @@ proxmox-time = { path = "../proxmox-time", version = "1.0.0" }
|
|||||||
default = []
|
default = []
|
||||||
sortable-macro = ["proxmox-sortable-macro"]
|
sortable-macro = ["proxmox-sortable-macro"]
|
||||||
logrotate = ["zstd"]
|
logrotate = ["zstd"]
|
||||||
|
acl = []
|
||||||
|
crypt = []
|
||||||
|
timer = []
|
||||||
|
@ -8,6 +8,7 @@ use nix::sys::stat;
|
|||||||
use nix::unistd::{Gid, Uid};
|
use nix::unistd::{Gid, Uid};
|
||||||
use std::os::unix::io::{AsRawFd, RawFd};
|
use std::os::unix::io::{AsRawFd, RawFd};
|
||||||
|
|
||||||
|
#[cfg(feature = "acl")]
|
||||||
pub mod acl;
|
pub mod acl;
|
||||||
|
|
||||||
mod file;
|
mod file;
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
use std::os::unix::ffi::OsStrExt;
|
use std::os::unix::ffi::OsStrExt;
|
||||||
|
|
||||||
pub mod command;
|
pub mod command;
|
||||||
|
#[cfg(feature = "crypt")]
|
||||||
pub mod crypt;
|
pub mod crypt;
|
||||||
pub mod email;
|
pub mod email;
|
||||||
pub mod error;
|
pub mod error;
|
||||||
|
@ -9,6 +9,7 @@ pub mod pid;
|
|||||||
pub mod procfs;
|
pub mod procfs;
|
||||||
pub mod pty;
|
pub mod pty;
|
||||||
pub mod socket;
|
pub mod socket;
|
||||||
|
#[cfg(feature = "timer")]
|
||||||
pub mod timer;
|
pub mod timer;
|
||||||
pub mod tty;
|
pub mod tty;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user