Closed fornwall closed 1 year ago
Note that templates currently only works for expressions. But perhaps we shouldn't introduce support for templates in scripts as they make things non-portable, and specifying a path to a local crate may be enough for users needing similar functionality?
As said earlier, I think templates is the wrong way to go, as it complicates things and makes script non-portable. Something like #61 is probably preferable, so closing this one.
Idea from https://www.reddit.com/r/rust/comments/jjnyv1/rustscript_run_rust_files_and_expressions_as/gafeock/?utm_source=reddit&utm_medium=web2x&context=3