89 releases (29 stable)

3.4.5 Oct 24, 2025
3.4.4 Apr 21, 2025
3.4.2 Dec 4, 2024
3.4.1 Nov 5, 2024
0.6.0 Nov 10, 2020

#1037 in Filesystem

Download history 82981/week @ 2025-07-15 83541/week @ 2025-07-22 82661/week @ 2025-07-29 96034/week @ 2025-08-05 89606/week @ 2025-08-12 102342/week @ 2025-08-19 86304/week @ 2025-08-26 96325/week @ 2025-09-02 97096/week @ 2025-09-09 70355/week @ 2025-09-16 78026/week @ 2025-09-23 76402/week @ 2025-09-30 78961/week @ 2025-10-07 96518/week @ 2025-10-14 104127/week @ 2025-10-21 86930/week @ 2025-10-28

381,303 downloads per month
Used in 347 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–16MB
~186K SLoC