Closed yima77 closed 5 years ago
Sorry about that, I've just pushed https://github.com/archseer/enigma/commit/ff257d5420db81a29521852751ff03c90c41414f which adds the missing deps. I've had them in the transform-engine
branch but forgot to cherry-pick into master.
Build was successful after pulling in the new crate "transform-engine".
When I ran "cargo run", once it got into compiling enigma, it encountered multiple errors, such as:
error[E0432]: unresolved import
byteorder
--> src/etf.rs:313:5
|
313 | use byteorder::{BigEndian, WriteBytesExt};
| ^^^^^^^^^ help: a similar path exists:
libflate::byteorder
md5
--> src/bif/erlang.rs:14:18
md5
error[E0599]: no method namedwrite_u8
found for type&mut std::vec::Vec<u8>
in the current scope --> src/etf.rs:330:21The last error occurs on multiple lines in etf.rs.
In addition, many warning about unused import and macro definition, such as:
warning: unused macro definition
--> src/exception.rs:208:1
|
208 | / macro_rules! native_exception { 209 | | ($x:expr) => {
210 | | $x & Reason::EXFNATIVE 211 | | };
212 | | }
| |^
BigInt
--> src/bif.rs:11:26
= note: #[warn(unused_imports)] on by default
And warnings about deprecated features, such as:
...
range patterns are deprecated --> src/bif/erlang.rs:230:51..=
for an inclusive range--> src/ets/error.rs:88:32
|
88 | fn cause(&self) -> Option<&StdError> { | ^^^^^^^^ help: use
dyn
:dyn StdError