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

#672 in Filesystem

Download history 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 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 98876/week @ 2025-02-06

357,943 downloads per month
Used in 266 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
~145K SLoC