howardwu / wagyu

A Rust library for generating cryptocurrency wallets
https://wagyu.dev
Apache License 2.0
612 stars 106 forks source link

Removed unused libaries #184

Closed ChiefMateStarbuck closed 4 years ago

ChiefMateStarbuck commented 4 years ago

When compiling the source code, there are warnings of unused imports.

warning: unused import: serde::Serialize --> ethereum\src\amount.rs:4:5 4 use serde::Serialize; ^^^^^^^^^^^^^^^^

= note: #[warn(unused_imports)] on by default

warning: unused import: wagyu_model::no_std::* --> bitcoin\src\extended_private_key.rs:13:5 13 use wagyu_model::no_std::*; ^^^^^^^^^^^^^^^^^^^^^^

= note: #[warn(unused_imports)] on by default

warning: unused import: wagyu_model::no_std::* --> bitcoin\src\extended_public_key.rs:11:5 | 11 | use wagyu_model::no_std::*; | ^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: io::Read --> bitcoin\src\mnemonic.rs:10:30 | 10 | use wagyu_model::no_std::{*, io::Read}; | ^^^^^^^^

warning: unused import: wagyu_model::no_std::* --> bitcoin\src\private_key.rs:6:5 | 6 | use wagyu_model::no_std::*; | ^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: wagyu_model::no_std::* --> bitcoin\src\public_key.rs:6:5 | 6 | use wagyu_model::no_std::*; | ^^^^^^^^^^^^^^^^^^^^^^

Compiling wagyu v0.6.3 (C:\Users\septi\wagyu) Finished dev [unoptimized + debuginfo] target(s) in 38.91s