3 unstable releases

0.2.0 Apr 13, 2024
0.1.1 Jan 7, 2024
0.1.0 Jan 5, 2024

#17 in #cases

Download history 26/week @ 2024-07-24 7/week @ 2024-07-31 10/week @ 2024-09-18 7/week @ 2024-09-25

130 downloads per month

MIT license

10KB
94 lines

Jailer

Project status & info:

License Crates Version Docs
License: MIT Crate Docs

Crate to create sandbox environment for testing and other use cases

Add as dependencies

Edit Cargo.toml file to add jailer as dependencies

[dependencies]
jailer = "0.2.0"

Usage

To use jailer at first create jailer

let _jailer = jailer::Jailer::new();
// use rust code as required

After creation of jailer you can use std env and directory as required and when jailer gets dropped all folder contents and environment variable gets replaced

Dependencies

~2–11MB
~122K SLoC