86 releases (26 stable)

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

#690 in Filesystem

Download history 58918/week @ 2024-09-12 61269/week @ 2024-09-19 58687/week @ 2024-09-26 71000/week @ 2024-10-03 58071/week @ 2024-10-10 67922/week @ 2024-10-17 69908/week @ 2024-10-24 77216/week @ 2024-10-31 76763/week @ 2024-11-07 84469/week @ 2024-11-14 69898/week @ 2024-11-21 70849/week @ 2024-11-28 78104/week @ 2024-12-05 71396/week @ 2024-12-12 68330/week @ 2024-12-19 27108/week @ 2024-12-26

261,458 downloads per month
Used in 263 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
~138K SLoC