May 2024
Run a Rust File as a Script with cargo
You can make a script file with rust like this:
---
anyhow = "1.0.102"
---
use Result;
Output:
Hello, script
Old Notes
This was the prior format.
```cargo
minijinja =
```Notes
-
You have to do
./in front of the filename if it's not a.rsfile.
end of line