-
Notifications
You must be signed in to change notification settings - Fork 300
Rework all code examples #838
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
Issue for playground examples: #523 |
To add on this, rocket is no longer actively maintained (last commit was last year), so yet another reason to change the code examples in https://www.rust-lang.org/what/networking |
Generally I agree with the goals stated here and would support proposals to change things. |
If cargo-script is stabilized, this could be a nice use case for it. The website could show the interesting snippet and a download button downloads a single file with all that's needed to run the project, including dependencies. |
we could defer ecosystem examples to cookbook (or blessed.rs) |
Content Feature Request
Summary
We should rework all code examples. The following rules should apply:
Motivation
A lot of code examples use libraries that were in build during the time of creation but have since passed out of maintenance, such as
quicly
. Others make you use the nightly compiler, such asrocket
. Other ones are just0.1
for no reason, such asferris_says
.This gives an extremely spotty view of the language and damages our image of providing stability.
Maintenance
Setting out to have more stability will reduce maintenance burden.
The text was updated successfully, but these errors were encountered: