Skip to content

Commit

Permalink
Merge pull request #43 from cgwalters/reexport-cap-primitives
Browse files Browse the repository at this point in the history
lib: Re-export cap-primitives
  • Loading branch information
jmarrero authored Sep 1, 2023
2 parents a5ea94c + 6471f01 commit 9ed23aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ version = "3.0.0"

[dependencies]
cap-tempfile = "2"
cap-primitives = "2"

[target.'cfg(not(windows))'.dependencies]
rustix = { version = "0.38", features = ["fs", "procfs", "process", "pipe"] }
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Extension APIs for cap-std
This crate adds additional helper APIs on top of the [`cap-std crate`].

[![crates.io](https://img.shields.io/crates/v/cap-std-ext.svg)](https://crates.io/crates/cap-std-ext)

[Documentation (Releases)](https://docs.rs/cap-std-ext/)

This crate will aim to migrate extension APIs from
[openat-ext](https://docs.rs/openat-ext/latest/openat_ext/index.html).

Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))]

// Re-export our dependencies
pub use cap_primitives;
pub use cap_tempfile;
pub use cap_tempfile::cap_std;

Expand Down

0 comments on commit 9ed23aa

Please sign in to comment.