GNU/Emacs mode that setup local playground for code snippets in Rust language. This is a port of go-playground adapted for Rust environment.
rust-playground from MELPA:
M-x package-install RET rust-playground
The mirror repository of the project: https://notabug.org/grafov/rust-playground. I really not think that this small project need the mirror but I just would like advertise a nice git hosting for FOSS. Try notabug.org for your projects! :)
Example screen after creation of a new snippet:
M-x rust-playgroundfor start a new playground buffer filled with basic template for the package with main function (see the picture below).
Ctl-Return(it bound to
rust-playground-execcommand). It will save, compile and exec the snippet code.
M-x rust-playground-rm. It will remove the current snippet with its directory and all files.
||Create a new playground buffer with basic template for the package.|
||[WIP] Download the snippet from the URL at play.rust-lang.org.|
||Save, compile and run the code of the snippet.|
||[WIP] Upload the buffer to play.golang.org and return the short URL.|
||Remove the snippet with its directory with all files.|
The plugin is usable. I've stopped learning Rust yet so this Emacs plugin not very interesting for
me. But I'll continue to maintain it and backport features from
go-playground. Patches are