Skip to main content

Module development

Module development 

Source
Expand description

Interactive Rust evaluation and Cargo development watching.

Modules§

cli

Structs§

DevController
Explicit shutdown waits for the current child and stops its descendants. Dropping the controller also requests shutdown.
DevOptions
Watch glob patterns and restart Cargo, or another exact-argv command.
ReplOptions
Real Rust evaluation via Evcxr, including persistent variables and async code.
RustRepl
Owns the evaluator and its isolated startup configuration.

Enums§

DevEvent

Functions§

dev
Start watching after validating the root, patterns and executable. Creation, deletion and edits all trigger restarts; build output is excluded.
start_repl
Start an Evcxr session with the entire command-stream crate in scope.