Add a convenience feature indicating you're on the latest stable version of Rust (#270)

This commit is contained in:
Thom Chiovoloni 2024-09-05 18:36:58 -07:00 committed by GitHub
parent 2d2b397d66
commit 19065703a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,6 +48,23 @@ nightly_float = []
# Improved documentation using the nightly toolchain # Improved documentation using the nightly toolchain
nightly_docs = [] 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] [dependencies]
bytemuck_derive = { version = "1.4", path = "derive", optional = true } bytemuck_derive = { version = "1.4", path = "derive", optional = true }