Skip to content

Commit 478ff4b

Browse files
committed
Add a convenience feature indicating you're on the latest stable version of Rust
1 parent 2d2b397 commit 478ff4b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Cargo.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,23 @@ nightly_float = []
4848
# Improved documentation using the nightly toolchain
4949
nightly_docs = []
5050

51+
# Enables all features that are both sound and supported on the latest stable
52+
# version of Rust, with the exception of `extern_crate_alloc` and
53+
# `extern_crate_std`.
54+
# Note: Enabling this feature opts out of any MSRV guarantees!
55+
latest_stable_rust = [
56+
# Keep this list sorted.
57+
"aarch64_simd",
58+
"align_offset",
59+
"const_zeroed",
60+
"derive",
61+
"min_const_generics",
62+
"must_cast",
63+
"wasm_simd",
64+
"zeroable_atomics",
65+
"zeroable_maybe_uninit",
66+
]
67+
5168
[dependencies]
5269
bytemuck_derive = { version = "1.4", path = "derive", optional = true }
5370

0 commit comments

Comments
 (0)