#api #network #file

cap-primitives

Capability-oriented primitives

20 releases (12 breaking)

new 0.13.7 Mar 2, 2021
0.12.1 Feb 2, 2021
0.8.0 Dec 11, 2020
0.6.0 Nov 10, 2020

#460 in Network programming

Download history 30/week @ 2020-11-10 14/week @ 2020-11-17 19/week @ 2020-11-24 9/week @ 2020-12-01 514/week @ 2020-12-08 430/week @ 2020-12-15 5/week @ 2020-12-22 87/week @ 2020-12-29 421/week @ 2021-01-05 295/week @ 2021-01-12 1108/week @ 2021-01-19 878/week @ 2021-01-26 1786/week @ 2021-02-02 957/week @ 2021-02-09 2432/week @ 2021-02-16 1567/week @ 2021-02-23

3,621 downloads per month
Used in 16 crates (4 directly)

Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT

315KB
7K SLoC

cap-primitives

Capability-oriented 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 and time module cap_primitives::time currently support Linux, macOS, FreeBSD, and Windows. WASI support is in development, though not yet usable.

The networking module, net, is not yet usable.

Dependencies

~270–610KB
~12K SLoC