-
Notifications
You must be signed in to change notification settings - Fork 327
Split examples into binaries that are runnable independently #223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@prasannavl How about dividing crate one by one? LIke actix/example |
@k-nasa - Personally, I like the convenience of switching between files quickly to be much nicer than having to go through a dir tree for simple examples. |
A bit of a different take here, but I really wish # expected
$ cargo run --example <example_name>
# proposed in GH-227
$ cargo run -p examples --bin <example_name> I think this might require moving edit I've filed #247 as an alternative to #227, which brings back |
Feature Request
Context
Possible Implementation
examples/src/bin/
), so that it can be easily run.The text was updated successfully, but these errors were encountered: