error[E0432]: unresolved import 'hex'
Cargo.toml
?hex = "0.4.2"
in the dependencies section of every cargo.toml I could think could be relevantextern crate hex
in the top levelname_crc_sha.map
to name_crc.map
?
try!
std::vec::Vec
to a [u8; 32]
&[u8]
if that would be fineresult.copy_from_slice(&vec)
slice
primitive in crate std
.let sha256 = [0; 32]; sha256.copy_from_slice(&vec);
and then use sha256
try_into
work? might include some allocation tho&
fn a(b: &mut i32, c: &mut i32)
thread 'main' has overflowed its stack
RUST_BACKTRACE=1
?env RUST_BACKTRACE=1 ./teehistorian2demo
set RUST_BACKTRACE=1