Skip to content

Commit 21d92aa

Browse files
committed
Document undocumented features
1 parent 0f43a56 commit 21d92aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@ exclude = ["/pedantic.bat"]
1313

1414
[features]
1515
# In v2 we'll fix these names to be more "normal".
16+
17+
# Enable deriving the various `bytemuck` traits.
1618
derive = ["bytemuck_derive"]
19+
# Enable features requiring items from `extern crate alloc`.
1720
extern_crate_alloc = []
21+
# Enable features requiring items from `extern crate std`.
1822
extern_crate_std = ["extern_crate_alloc"]
23+
# Implement `Zeroable` for `MaybeUninit`.
1924
zeroable_maybe_uninit = []
25+
# Implement `Zeroable` for `std::sync::atomic` types.
2026
zeroable_atomics = []
2127

2228
# All MSRV notes below are GUIDELINES and future versions may require even more

0 commit comments

Comments
 (0)