Skip to content

Commit

Permalink
Add a convenience feature indicating you're on the latest stable vers…
Browse files Browse the repository at this point in the history
…ion of Rust
  • Loading branch information
thomcc committed Sep 6, 2024
1 parent 2d2b397 commit 478ff4b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,23 @@ nightly_float = []
# Improved documentation using the nightly toolchain
nightly_docs = []

# Enables all features that are both sound and supported on the latest stable
# version of Rust, with the exception of `extern_crate_alloc` and
# `extern_crate_std`.
# Note: Enabling this feature opts out of any MSRV guarantees!
latest_stable_rust = [
# Keep this list sorted.
"aarch64_simd",
"align_offset",
"const_zeroed",
"derive",
"min_const_generics",
"must_cast",
"wasm_simd",
"zeroable_atomics",
"zeroable_maybe_uninit",
]

[dependencies]
bytemuck_derive = { version = "1.4", path = "derive", optional = true }

Expand Down

0 comments on commit 478ff4b

Please sign in to comment.