Releases: fornwall/rust-script
Releases · fornwall/rust-script
0.35.0
Fixed
- Make
RUST_SCRIPT_BASE_PATH
report the correct path when rust-script
executes with --base-path
(#136).
- Bump dependencies, raising MSRV from
1.64
to 1.74
(#138).
0.34.0
Added
- Publish binaries on GitHub releases, for use with e.g.
cargo binstall
.
0.32.0
- Sett
arg0
on unix (see #113).
0.31.0
- Add support for
-w
/--wrapper
, which can be used to add a wrapper around the executable, as in rust-script --debug --wrapper rust-lldb my-script.rs
or rust-script --wrapper "hyperfine --runs 100" my-script.rs
. #54 and #112.
0.30.0
- Add the
-b
/--base-path
option, which can be used for e.g. Justfile integration. Fixes #109
0.29.0
- Fall back to modified time if creation time of cached binaries is unavailable (#108).
0.28.0
- Use the source input file as bin path if possible (#103, to enhance IDE support as discussed in #11).
- Allow multiple
-d
/--dep
flags (847f679, fixes #106).
- Minor dependency bumps (#107).
0.27.0
- Replace dirs-next with dirs and update winreg (#102).
- Minor dependency bumps (3e7b8ed).
0.26.0
- Detect
extern "C"
main function (#99).
0.25.0
- Fix main functions with whitespace between
main
and ()
being recognized (#95).
- Avoid having shebangs (
#!/usr/bin/env rust-script
) mess up line numbers (see here).