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.

crates.io

Documentation (Releases)

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§

cmdext
Extensions for std::process::Command that operate on concepts from cap-std.
dirext
Extensions for cap_std::fs::Dir. Key features here include:
prelude
Prelude, intended for glob import.

Structs§

RootDir
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.