84 releases (24 stable)

3.4.1 Nov 5, 2024
3.3.0 Sep 24, 2024
3.2.0 Jul 8, 2024
3.0.0 Jan 11, 2024
0.6.0 Nov 10, 2020

#484 in Filesystem

Download history 66702/week @ 2024-07-29 56035/week @ 2024-08-05 58202/week @ 2024-08-12 59201/week @ 2024-08-19 59779/week @ 2024-08-26 58851/week @ 2024-09-02 58804/week @ 2024-09-09 58616/week @ 2024-09-16 63133/week @ 2024-09-23 59328/week @ 2024-09-30 70426/week @ 2024-10-07 57980/week @ 2024-10-14 71849/week @ 2024-10-21 67960/week @ 2024-10-28 83942/week @ 2024-11-04 76952/week @ 2024-11-11

303,239 downloads per month
Used in 251 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–12MB
~151K SLoC