Registry / testing / rusty-fork

rusty-fork

JSON →
library0.3.1rscratesunverified

Cross-platform library for running Rust tests in sub-processes using a fork-like interface.

# Cargo.toml [dependencies] rusty-fork = "0.3.1"
INSTALL
IMPORT
SIG · RUSTY-FORK
R
rusty-fork
testingrustv0.3.1
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.

fork
use rusty_fork::fork;

Shows basic usage of rusty_fork for subprocess testing.

use rusty_fork::fork; fork( "test_name", |child| { // child process println!("Child running"); }, |parent, child| { // parent process println!("Parent waiting"); }, );
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
rusty-fork — cargo add rusty-fork · libregistry