Tidy up imports
This commit is contained in:
parent
a9674a148b
commit
acd8c395f3
|
@ -12,11 +12,11 @@ publish = false
|
||||||
android_logger = "0.6"
|
android_logger = "0.6"
|
||||||
failure = "0.1"
|
failure = "0.1"
|
||||||
jni = { version = "0.10", default-features = false }
|
jni = { version = "0.10", default-features = false }
|
||||||
|
log = "0.4"
|
||||||
log-panics = "2.0.0"
|
log-panics = "2.0.0"
|
||||||
protobuf = "2"
|
protobuf = "2"
|
||||||
rand = "0.4"
|
rand = "0.4"
|
||||||
rusqlite = { version = "0.15", features = ["bundled"] }
|
rusqlite = { version = "0.15", features = ["bundled"] }
|
||||||
log = "0.4"
|
|
||||||
|
|
||||||
[dependencies.ff]
|
[dependencies.ff]
|
||||||
git = "https://github.com/str4d/librustzcash.git"
|
git = "https://github.com/str4d/librustzcash.git"
|
||||||
|
|
|
@ -3,7 +3,10 @@ extern crate failure;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate log;
|
extern crate log;
|
||||||
|
|
||||||
|
extern crate android_logger;
|
||||||
extern crate ff;
|
extern crate ff;
|
||||||
|
extern crate jni;
|
||||||
|
extern crate log_panics;
|
||||||
extern crate pairing;
|
extern crate pairing;
|
||||||
extern crate protobuf;
|
extern crate protobuf;
|
||||||
extern crate rusqlite;
|
extern crate rusqlite;
|
||||||
|
@ -16,10 +19,12 @@ mod sql;
|
||||||
|
|
||||||
const SAPLING_CONSENSUS_BRANCH_ID: u32 = 0x76b8_09bb;
|
const SAPLING_CONSENSUS_BRANCH_ID: u32 = 0x76b8_09bb;
|
||||||
|
|
||||||
extern crate android_logger;
|
use android_logger::Filter;
|
||||||
extern crate jni;
|
use jni::{
|
||||||
extern crate log_panics;
|
objects::{JClass, JString},
|
||||||
|
sys::{jboolean, jbyteArray, jint, jlong, jobjectArray, jsize, jstring, JNI_FALSE, JNI_TRUE},
|
||||||
|
JNIEnv,
|
||||||
|
};
|
||||||
use log::Level;
|
use log::Level;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use zcash_client_backend::{
|
use zcash_client_backend::{
|
||||||
|
@ -33,13 +38,6 @@ use zcash_client_backend::{
|
||||||
use zcash_primitives::transaction::components::Amount;
|
use zcash_primitives::transaction::components::Amount;
|
||||||
use zip32::{ChildIndex, ExtendedFullViewingKey, ExtendedSpendingKey};
|
use zip32::{ChildIndex, ExtendedFullViewingKey, ExtendedSpendingKey};
|
||||||
|
|
||||||
use self::android_logger::Filter;
|
|
||||||
use self::jni::objects::{JClass, JString};
|
|
||||||
use self::jni::sys::{
|
|
||||||
jboolean, jbyteArray, jint, jlong, jobjectArray, jsize, jstring, JNI_FALSE, JNI_TRUE,
|
|
||||||
};
|
|
||||||
use self::jni::JNIEnv;
|
|
||||||
|
|
||||||
use crate::sql::{
|
use crate::sql::{
|
||||||
get_address, get_balance, init_accounts_table, init_blocks_table, init_data_database,
|
get_address, get_balance, init_accounts_table, init_blocks_table, init_data_database,
|
||||||
scan_cached_blocks, send_to_address,
|
scan_cached_blocks, send_to_address,
|
||||||
|
|
Loading…
Reference in New Issue