All Versions
14
Latest Version
Avg Release Cycle
84 days
Latest Release
-

Changelog History
Page 1

  • v0.2.8 Changes

    ๐Ÿ”„ Changed:

    • ๐Ÿ‘€ Implemented work-around for issue 50. See the section in the README on known issues.
  • v0.2.7 Changes

    September 17, 2017

    ๐Ÿ†• New:

    • Several environment variables are now given to scripts by cargo-script.

    ๐Ÿ”„ Changed:

    • Overhauled README.md.

    ๐Ÿ›  Fixed:

    • โš  Warning in the new expr template.
  • v0.2.6 Changes

    September 13, 2017

    ๐Ÿ›  Fixed:

    • Incompatibility with the version of Cargo shipped with Rust 1.16.0.
  • v0.2.5 Changes

    September 07, 2017

    ๐Ÿ†• New:

    • โž• Added support for expression script templates.

    • The built-in templates used for scripts can be overridden.

    ๐Ÿ›  Fixed:

    • ๐Ÿ Cargo script hanging on build failure on Windows.
  • v0.2.4 Changes

    ๐Ÿ†• New:

    • Expressions can now use try!/? for propagating errors.
  • v0.2.3 Changes

    August 27, 2017

    ๐Ÿ›  Fixed:

    • Suspiciously absent 0.2.2 features.
  • v0.2.2 Changes

    August 27, 2017

    ๐Ÿ›  Fixed:

    • cargo-script no longer gets confused when trying to run scripts with non-identifier characters in their name.

    • Coloured output from cargo now works on *nix.

    • ๐Ÿ‘ Relative paths in manifests for dependencies are now supported.

  • v0.2.1 Changes

    August 04, 2017

    ๐Ÿ”„ Changed:

    • cargo-script now interrogates cargo to find out where it puts the compiled executables. This should make cargo-script more robust. This only works with Rust 1.17 or higher.
  • v0.2.0 Changes

    July 27, 2017

    ๐Ÿ†• 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.

  • v0.1.5 Changes

    ๐Ÿ†• New:

    • ๐Ÿ— cargo-script now (typically) defaults to using a shared build location. This means that, provided you're using the same compiler, dependencies won't need to be constantly re-built. This can be explicitly controlled by setting the --use-shared-binary-cache option to yes or no.

    • โž• Added --unstable-feature option. This allows you to specify unstable language features that should be enabled.

    ๐Ÿ”„ Changed:

    • ๐Ÿ— The build cache will be retained when the build fails. This means that dependencies don't have to be re-built when the script itself has an error in it.

    ๐Ÿ›  Fixed:

    • ๐Ÿ›  Fixed issue with evaluating an expression containing macros that capture.