86 releases (26 stable)

new 3.4.2 Dec 4, 2024
3.4.1 Nov 5, 2024
3.4.0 Oct 30, 2024
3.2.0 Jul 8, 2024
0.6.0 Nov 10, 2020

#481 in Filesystem

Download history 60119/week @ 2024-08-17 57610/week @ 2024-08-24 60255/week @ 2024-08-31 58102/week @ 2024-09-07 59564/week @ 2024-09-14 62794/week @ 2024-09-21 58619/week @ 2024-09-28 72772/week @ 2024-10-05 58370/week @ 2024-10-12 69826/week @ 2024-10-19 68154/week @ 2024-10-26 82843/week @ 2024-11-02 75653/week @ 2024-11-09 85062/week @ 2024-11-16 58017/week @ 2024-11-23 82729/week @ 2024-11-30

316,143 downloads per month
Used in 256 crates (8 directly)

Apache-2.0…

390KB
8K 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

~2–11MB
~142K SLoC