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

#694 in Filesystem

Download history 59782/week @ 2024-09-25 63971/week @ 2024-10-02 64482/week @ 2024-10-09 64454/week @ 2024-10-16 72570/week @ 2024-10-23 75525/week @ 2024-10-30 78200/week @ 2024-11-06 78385/week @ 2024-11-13 78927/week @ 2024-11-20 64103/week @ 2024-11-27 79304/week @ 2024-12-04 71601/week @ 2024-12-11 80346/week @ 2024-12-18 30143/week @ 2024-12-25 50298/week @ 2025-01-01 71470/week @ 2025-01-08

243,510 downloads per month
Used in 264 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
~146K SLoC