Skip to content
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

Rust 2024 Edition missing from Edition Guide #290

Closed
trevorstr opened this issue Jan 30, 2024 · 1 comment · Fixed by #288
Closed

Rust 2024 Edition missing from Edition Guide #290

trevorstr opened this issue Jan 30, 2024 · 1 comment · Fixed by #288

Comments

@trevorstr
Copy link

The cargo CLI tool references a Rust 2024 edition, but there's not currently any documentation indicating what this involves on the Rust Edition Guide.

Create a new cargo package at <path>

Usage: cargo new [OPTIONS] <PATH>

Arguments:
  <PATH>

Options:
      --vcs <VCS>            Initialize a new repository for the given version control system, overriding a global configuration. [possible values: git, hg, pijul, fossil, none]
      --bin                  Use a binary (application) template [default]
      --lib                  Use a library template
      --edition <YEAR>       Edition to set for the crate generated [possible values: 2015, 2018, 2021, 2024]
      --name <NAME>          Set the resulting package name, defaults to the directory name
      --registry <REGISTRY>  Registry to use
  -q, --quiet                Do not print cargo log messages
  -v, --verbose...           Use verbose output (-vv very verbose/build.rs output)
      --color <WHEN>         Coloring: auto, always, never
      --config <KEY=VALUE>   Override a configuration value
  -Z <FLAG>                  Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details
  -h, --help                 Print help

Manifest Options:
      --frozen   Require Cargo.lock and cache are up to date
      --locked   Require Cargo.lock is up to date
      --offline  Run without accessing the network

Run `cargo help new` for more detailed information.

Please consider adding a section to the Rust Edition Guide to cover the 2024 edition of Rust. Looks like it's slated for release in H2 2024, according to this post.

@ehuss
Copy link
Contributor

ehuss commented Jan 30, 2024

Thanks for the report! The initial outline will be added via #288. The documentation normally doesn't get filled out until we're closer to the release (probably sometime in the summer).

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 a pull request may close this issue.

2 participants