You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use byteorder::{LittleEndian,ReadBytesExt,WriteBytesExt};
We currently rely on the ReadBytesExt and WriteBytesExt traits, which are built around std::io and thus require the std feature flag of byteorder. This makes the zcash_encoding crate incompatible with no-std environments (even if they support alloc).
We should move away from the byteorder crate in favour of the parsing methods on native types (like u64::from_le_bytes), which have been in Rust since 1.32 (well below our MSRV for zcash_encoding of 1.56.1).
The text was updated successfully, but these errors were encountered:
librustzcash/components/zcash_encoding/src/lib.rs
Line 11 in dec3024
We currently rely on the
ReadBytesExt
andWriteBytesExt
traits, which are built aroundstd::io
and thus require thestd
feature flag ofbyteorder
. This makes thezcash_encoding
crate incompatible withno-std
environments (even if they supportalloc
).We should move away from the
byteorder
crate in favour of the parsing methods on native types (likeu64::from_le_bytes
), which have been in Rust since 1.32 (well below our MSRV forzcash_encoding
of 1.56.1).The text was updated successfully, but these errors were encountered: