-
Notifications
You must be signed in to change notification settings - Fork 77
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
Release Roadmap #671
Comments
2 tasks
This was referenced Apr 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
0.8
Definitely include
TryFromBytes
- conditional conversion analogous toFromBytes
#5KnownLayout
trait and custom DSTs #29UnsafeCell
" property into separateImmutable
trait; allowFromZeros
,FromBytes
, andAsBytes
on types withUnsafeCell
s #251Ptr
type needs to handle zero-sized types #874Box
et al containingUnsafeCell
s #1358syn
, or choose a different workaround #1088cargo fix
-like tool) #1295Deref
, change some methods to associated functions? #210Box
et al containingUnsafeCell
s #1358#[deprecated]
is an MSRV-breaking change; if we decide that it's not, then we can remove some blockers for 0.8Unalign::set
withreplace
orswap
(which returns the original)? Strictly more powerful.FromZeros::new_boxed_slice_zeroed
and replace with method which supports slice DSTs?AsBytes
for fields with a size set as a generic constant #1182Resolve rust-lang/unsafe-code-guidelines#429 before releasingNoCell for Box<T>
whereT: Sized
Box
et al containingUnsafeCell
s #1358const
context.Into<&[u8]>
bound fromIntoByteSlice
? #1260try_transmute!
#1018PointerMetadata::size_for_metadata
can return size which overflowsisize
#1158FromBytes
conversion methods #1059Ref
constructors which zero bytes? #1134transmute_mut!
documents looser requirements than what is implemented #1046IntoBytes::as_mut_bytes
#986byteorder
crate, makebyteorder
type methodsconst
#438FromZeroes
is misspelt #431FromZeroes
toFromZeros
#430Ref<core::cell::Ref<[u8]>, _>::into_ref
is unsound #716Ptr
type should reason aboutUnsafeCell
overlap #873TryFromBytes::is_bit_valid
forUnalign<T>
#897derive(FromBytes)
should implicitly deriveFromZeros
andTryFromBytes
#925AsBytes
just as we do forFromZeroes
Include if we have time
try_
variants to some methods, make existing methods panic #284as_bytes_mut
toas_mut_bytes
#253#[must_use]
annotation to some types, functions, and macros #188Non-breaking; do after 0.8 is released
TryFromBytes for MaybeUninit<T>
whenT: ?NoCell
#893Unsized
types #9930.9
0.10
General API overhaul without changing fundamental analysis. Things like:
The text was updated successfully, but these errors were encountered: