v0.9.0
- 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.
- Note that
- Allow
?
to be used in script file withoutfn main()
.- This is done by letting the return type of the generated
main()
function beResult<(), Box<dyn std::error::Error+Sync+Send>>
.
- This is done by letting the return type of the generated