Closed DanielKeep closed 7 years ago
Allow users to specify their own templates for hosting --expr scripts. i.e.:
--expr
cargo script -tdisplay --expr 42
With something akin to this in $CARGO_HOME/script-templates/display.rs.template:
$CARGO_HOME/script-templates/display.rs.template
%p fn main() { println!("{:?}", %b); }
Implemented in 0.2.5.
Allow users to specify their own templates for hosting
--expr
scripts. i.e.:With something akin to this in
$CARGO_HOME/script-templates/display.rs.template
: