Take advantage of more recent Rust versions
This is to represent a list of things stabilized in Rust versions newer than 1.31 that should be utilized in this library. This should be completed before #36 (closed) since that represents the last optimal time for breaking changes.
- Use the
<int>::to_le_bytes
and similar instead of the ByteOrder crate. (1.32) -
TryInto
will be useful for many conversions, e.g.,Socket
toRawSocket
. (1.34) - Use
MaybeUninit
instead ofmem::uninitialized
(1.36, #42 (closed))
Edited by Nathan Kent