40 releases (20 breaking)

0.21.1 Nov 12, 2021
0.20.0 Oct 7, 2021
0.16.3 Jul 14, 2021
0.13.7 Mar 2, 2021
0.6.0 Nov 10, 2020

#617 in Network programming

Download history 3670/week @ 2021-08-12 3458/week @ 2021-08-19 4055/week @ 2021-08-26 2834/week @ 2021-09-02 3771/week @ 2021-09-09 3740/week @ 2021-09-16 2951/week @ 2021-09-23 3184/week @ 2021-09-30 3660/week @ 2021-10-07 4034/week @ 2021-10-14 3930/week @ 2021-10-21 3328/week @ 2021-10-28 2491/week @ 2021-11-04 3081/week @ 2021-11-11 2588/week @ 2021-11-18 2166/week @ 2021-11-25

10,948 downloads per month
Used in 29 crates (4 directly)

Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT

310KB
6.5K SLoC

cap-primitives

Capability-based primitives

Github Actions CI Status crates.io page docs.rs docs

The cap-primitives crate provides primitive sandboxing operations that cap-std and cap-async-std are built on.

The filesystem module cap_primitives::fs, the networking module cap_primitives::net, and time module cap_primitives::time currently support Linux, macOS, FreeBSD, and Windows. WASI support is in development, though not yet usable.

Dependencies

~0.4–2MB
~50K SLoC