57 releases (26 breaking)

0.26.1 Sep 29, 2022
0.25.3 Sep 15, 2022
0.25.2 Jun 29, 2022
0.24.2 Mar 16, 2022
0.0.0 Jun 25, 2020

#1519 in Filesystem

Download history 142/week @ 2024-01-13 17/week @ 2024-01-20 80/week @ 2024-01-27 81/week @ 2024-02-03 2/week @ 2024-02-10 174/week @ 2024-02-17 232/week @ 2024-02-24 120/week @ 2024-03-02 154/week @ 2024-03-09 52/week @ 2024-03-16 28/week @ 2024-03-23 39/week @ 2024-03-30 64/week @ 2024-04-06 47/week @ 2024-04-13 26/week @ 2024-04-20

178 downloads per month
Used in 2 crates (via drawbridge-server)


11K SLoC


Capability-based version of `async-std`

Github Actions CI Status crates.io page docs.rs docs

This crate provides a capability-based version of async-std. See the toplevel README.md for more information about capability-based security.


A capability-based API modeled after async_std.

This corresponds to async_std.

Capability-based APIs represent access to external resources as values which can be passed around between different parts of a program.

Two notable features are the Dir and Pool types:

  • Dir represents an open directory in a filesystem. Instead of opening files by absolute paths or paths relative to the current working directory, files are opened via paths relative to a Dir. The concepts of a process-wide "current working directory" and a single global filesystem namespace are de-emphasized.
  • Pool represents a set of network addresses. Instead of allowing applications to request access to any address and then applying process-wide filtering rules, filtering rules are built into pools which may be passed through the program.

On WASI, use of this library closely reflects the underlying system API, so it avoids compatibility layers.


~252K SLoC