Registry / testing / starbase-sandbox

starbase-sandbox

JSON →
library0.11.0rscratesunverified

A temporary sandbox for testing file system and process operations, with fixtures support.

# Cargo.toml [dependencies] starbase_sandbox = "0.11.0"
INSTALL
IMPORT
SIG · STARBASE-SANDBOX
S
starbase-sandbox
testingrustv0.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Sandbox
use starbase_sandbox::Sandbox;

Creates a sandbox, writes a file, and reads it back.

use starbase_sandbox::Sandbox; fn main() { let sandbox = Sandbox::new().unwrap(); sandbox.create_file("test.txt", "hello").unwrap(); let content = sandbox.read_file("test.txt").unwrap(); assert_eq!(content, "hello"); println!("Sandbox test passed!"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
Resources
starbase-sandbox — cargo add starbase-sandbox · libregistry