Skip to content

Add running examples section in README.md - #6

Merged
teor2345 merged 2 commits into
rustfoundation:mainfrom
Ajay-singh1:running-examples
Jul 23, 2026
Merged

Add running examples section in README.md#6
teor2345 merged 2 commits into
rustfoundation:mainfrom
Ajay-singh1:running-examples

Conversation

@Ajay-singh1

Copy link
Copy Markdown
Collaborator

Adds section for running examples in the directory.

Signed-off-by: Ajay Singh <ajaykripa8736968359@gmail.com>
Comment thread README.md
For example:

```sh
cargo run --bin multiple-args

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add all the examples to CI as well, so that we check the examples actually run:

run: # cargo run --all-features --bin-name TODO

It is ok to just add a list of names for now, I don't think there's any easy way to get a list of binaries in a crate.

Signed-off-by: Ajay Singh <ajaykripa8736968359@gmail.com>

@teor2345 teor2345 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@teor2345
teor2345 added this pull request to the merge queue Jul 23, 2026
Merged via the queue into rustfoundation:main with commit f3174c9 Jul 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants