You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 9, 2023. It is now read-only.
A large part of trying out new libraries (say rust-sdl2) is to clone them from their github page, and calling cargo --example on one of the listed examples.
It implies opening a browser, cloning, different folders, etc. All in all, it's a lot of work to do things that cargo knows how to do.
A cargo plugin (and maybe a feature later on) allowing to run cargo example rust-sdl2 example-n1 that would just work, without having to create then delete a whole folder, and maybe even caching large libraries, would streamline the whole process.
Simply running cargo example rust-sdl2 would list the available examples.
Some sandboxing might even be added for more safety.