rust-script
rust-script copied to clipboard
ability to compile a script as a library
It would be wonderful if we could add a [lib] section to the script, choose the crate-type and have it appear compiled next to the script.
@joseluis Thanks for the suggestion, sounds interesting. Thinking about it and experimenting.
I'm happy to hear that. I'm realizing now that it would make sense then to be able to do a similar thing with the binary, being able to have it appear compiled in the same dir. What do you think?