jailer

Crates.iojailer
lib.rsjailer
version0.2.0
sourcesrc
created_at2024-01-05 14:30:29.910695
updated_at2024-04-13 15:26:22.944971
descriptionCrate which helps in creation of sandbox environment
homepagehttps://github.com/iamsauravsharma/jailer
repositoryhttps://github.com/iamsauravsharma/jailer
max_upload_size
id1089764
size18,430
Saurav Sharma (iamsauravsharma)

documentation

README

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

Commit count: 11

cargo fmt