Crates.io | jailer |
lib.rs | jailer |
version | 0.2.0 |
source | src |
created_at | 2024-01-05 14:30:29.910695 |
updated_at | 2024-04-13 15:26:22.944971 |
description | Crate which helps in creation of sandbox environment |
homepage | https://github.com/iamsauravsharma/jailer |
repository | https://github.com/iamsauravsharma/jailer |
max_upload_size | |
id | 1089764 |
size | 18,430 |
Project status & info:
License | Crates Version | Docs |
---|---|---|
Crate to create sandbox environment for testing and other use cases
Edit Cargo.toml file to add jailer as dependencies
[dependencies]
jailer = "0.2.0"
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