cargo-script v0.2.0 Release Notes

Release Date: 2017-07-27 // over 6 years ago
  • ๐Ÿ†• New:

    • โž• Added --test and --bench flags. These can be used to run a script's tests and benchmarks.

    • โž• Added cargo-script file-association subcommand for managing file associations on Windows.

    • ๐Ÿ— If compiled with the suppress-cargo-output feature, cargo-script will hide output from Cargo if the build takes less than 2 seconds and succeeds.

    ๐Ÿ”„ Changed:

    • ๐Ÿ— cargo-script now requires Rust 1.11 to build.

    • โœ‚ Removed prefix manifests. All other forms are still supported.

    • The cache location on not-Windows when CARGO_HOME is defined is now $CARGO_HOME, rather than $CARGO_HOME/.cargo. Existing data may be migrated to the new location using the --migrate-data option.

    ๐Ÿ›  Fixed:

    • The result of an --expr invocation now lives longer, allowing borrowed values to be displayed more easily.

    • ๐Ÿ›  Fixed issue with expressions containing commas on the command line.