1.1.8 supports url scripts

This commit is contained in:
2026-02-08 19:31:20 +08:00
parent 41f1eeeb9e
commit edd4cbdc92
7 changed files with 131 additions and 7 deletions

View File

@@ -26,4 +26,13 @@ Runnable binaries:
* ~/.cargo/bin/runrs
* ~/.cargo/bin/rust-script
Simply call `rust-script` (https://github.com/fornwall/rust-script).
Simply call `rust-script` (https://github.com/fornwall/rust-script).
<br>
Run `*.ts` from URL:
```shell
runts 'https://script.hatter.ink/@0/cal-bun.ts'
runts 'https://script.hatter.ink/@1/cal.ts'
```