Crate littertray

Crate littertray 

Source
Expand description

Lightweight sandboxing for tests that write to the filesystem

This is a derivative work of figment::Jail but simpler (no environment variables), and it supports async closures.

§Feature flags

  • async — Enables support for async closures with the tokio runtime. This feature requires rust 1.85.

Structs§

LitterTray
Lightweight filesystem sandbox

Enums§

Error
The error type used by LitterTray.

Functions§

global_lock_sync
Locks the global lock synchronously