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

Changelog History
Page 1

  • v0.2.8

    🔄 Changed:

    • 👀 Implemented work-around for issue 50. See the section in the README on known issues.
  • v0.2.7

    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

    September 13, 2017

    🛠 Fixed:

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

    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

    🆕 New:

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

    August 27, 2017

    🛠 Fixed:

    • Suspiciously absent 0.2.2 features.
  • v0.2.2

    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

    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

    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

    🆕 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.