Skip to content

code snippets should link to the play pen #523

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

Closed
3 tasks
ashleygwilliams opened this issue Dec 2, 2018 · 5 comments
Closed
3 tasks

code snippets should link to the play pen #523

ashleygwilliams opened this issue Dec 2, 2018 · 5 comments
Labels
A-Content The written content on the website.

Comments

@ashleygwilliams
Copy link
Member

ashleygwilliams commented Dec 2, 2018

we should link to a prefilled playpen with the code snippets that currently exist:

  • getting-started
  • networking
  • embedded CLI

this may require adding new crates to the playpen cc @carols10cents @shepmaster

@ashleygwilliams ashleygwilliams added the A-Content The written content on the website. label Dec 2, 2018
@ashleygwilliams ashleygwilliams added this to the end-of-year milestone Dec 2, 2018
@shepmaster
Copy link
Member

The playpen no longer exists. The Rust playground crates are those that are commonly downloaded or those that have been accepted as part of the Rust Cookbook

@ashleygwilliams
Copy link
Member Author

i meant the playground, sorry. what is the process for adding crates to the playground? (i believe the cookbook is no longer maintained, fyi/fwiw)

@shepmaster
Copy link
Member

i believe the cookbook is no longer maintained

It's had commits in the last two weeks — does that not count as maintained?

the process for adding crates to the playground

The reason for choosing the Cookbook is that there's a presumably impartial group of people who have decided that a library is good, maintained, documented, and otherwise should be presented to arbitrary Rust programmers.

What crates do you need to be added? Why those specific crates? What group vouches for those crates?

@nrc
Copy link
Member

nrc commented Dec 12, 2018

What crates do you need to be added?

The crates we'd need are 'ferris-says' (for getting started), 'reqwest' and 'rocket' (for networking), 'quicli' and 'structopt' (for CLI)

Why those specific crates?

They are the ones which are dependencies of the code snippets used on the website.

What group vouches for those crates?

I guess the website team? Perhaps the individual working groups for the WG snippets

@ashleygwilliams
Copy link
Member Author

agree with everything @nrc has said. and i agree with the vouching strategy- the ferris-says crate will be vouched for by the "website team" (not yet formed, but i will take point on that) and the crates for the individual working groups pages are vouched for by them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Content The written content on the website.
Projects
None yet
Development

No branches or pull requests

4 participants