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

#549 in Filesystem

Download history 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 30564/week @ 2024-12-26 59692/week @ 2025-01-02 91292/week @ 2025-01-09 73291/week @ 2025-01-16 85026/week @ 2025-01-23 84403/week @ 2025-01-30 99175/week @ 2025-02-06 75979/week @ 2025-02-13 92431/week @ 2025-02-20 91858/week @ 2025-02-27 86256/week @ 2025-03-06

363,348 downloads per month
Used in 274 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–13MB
~163K SLoC