Crate cap_std_ext
source ·Expand description
§Extension APIs for cap-std
This crate adds additional helper APIs on top of the cap-std crate
.
This crate will aim to migrate extension APIs from openat-ext.
For more background on the rationale for this crate, see: https://github.com/bytecodealliance/rustix/issues/100
Re-exports§
pub use cap_primitives;
pub use cap_tempfile;
pub use cap_tempfile::cap_std;
Modules§
- Extensions for
std::process::Command
that operate on concepts from cap-std. - Extensions for
cap_std::fs::Dir
. Key features here include: - Prelude, intended for glob import.
Structs§
- Wrapper for a
cap_std::fs::Dir
that is defined to use `RESOLVE_IN_ROOT`` semantics when opening files and subdirectories. This currently only offers a subset of the methods, primarily reading.