Releases: fornwall/rust-script
Releases · fornwall/rust-script
v0.15.0
10 Jul 09:22
Compare
Sorry, something went wrong.
No results found
Support three slashes comments (///). See #25 .
v0.14.0
26 Apr 10:25
Compare
Sorry, something went wrong.
No results found
Convert uppercase characters to lowercase in crate name to avoid warning (#20 ).
Add --toolchain-version argument (#21 ).
v0.13.0
26 Mar 21:10
Compare
Sorry, something went wrong.
No results found
Allow indentation before fn main() (#18 ).
v0.12.0
24 Jan 21:20
Compare
Sorry, something went wrong.
No results found
Support pub fn main() (#14 ).
v0.11.0
26 Dec 09:10
Compare
Sorry, something went wrong.
No results found
Add support for async fn main (#13 ).
v0.10.0
16 Dec 04:31
Compare
Sorry, something went wrong.
No results found
Use a shared cargo target directory.
This will improve speed and reduce disk consumption dramatically when rerunning scripts after editing them, as built dependencies are now cached instead of downloaded and built again.
v0.9.0
04 Nov 12:01
Compare
Sorry, something went wrong.
No results found
Fix wrong executable path when the script name matches the name of a dependency (#8 ).
Note that rust-script --clear-cache needs to be called once after upgrading to clean out incorrectly cached paths.
Allow ? to be used in script file without fn main().
This is done by letting the return type of the generated main() function be Result<(), Box<dyn std::error::Error+Sync+Send>>.
v0.8.0
04 Nov 00:13
Compare
Sorry, something went wrong.
No results found
Bug fixes in argument handling.
Do not require fn main() in script files - surround the script file with fn main() { .. } if no line starts with fn main().
Add -o/--cargo-output option to see output from Cargo also in successful builds.
Define the RUST_SCRIPT_* environment variables also at compilation time - not only at runtime as before.
This enables using include!, include_str! and similar from scripts - see #6 .
v0.7.0
28 Oct 13:50
Compare
Sorry, something went wrong.
No results found
Change from .crs to .ers file extension.
v0.6.0
28 Oct 00:55
Compare
Sorry, something went wrong.
No results found