zcash_client_sqlite: Remove direct ff dependency
This commit is contained in:
parent
b3f13020ac
commit
e54e3f21e8
|
@ -16,7 +16,6 @@ rust-version = "1.56.1"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bech32 = "0.8"
|
bech32 = "0.8"
|
||||||
bs58 = { version = "0.4", features = ["check"] }
|
bs58 = { version = "0.4", features = ["check"] }
|
||||||
ff = "0.12"
|
|
||||||
group = "0.12"
|
group = "0.12"
|
||||||
hdwallet = { version = "0.3.1", optional = true }
|
hdwallet = { version = "0.3.1", optional = true }
|
||||||
jubjub = "0.9"
|
jubjub = "0.9"
|
||||||
|
|
|
@ -887,8 +887,7 @@ impl BlockSource for FsBlockDb {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
#[allow(deprecated)]
|
#[allow(deprecated)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use ff::PrimeField;
|
use group::{ff::PrimeField, GroupEncoding};
|
||||||
use group::GroupEncoding;
|
|
||||||
use protobuf::Message;
|
use protobuf::Message;
|
||||||
use rand_core::{OsRng, RngCore};
|
use rand_core::{OsRng, RngCore};
|
||||||
use rusqlite::params;
|
use rusqlite::params;
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
//! [`WalletRead`]: zcash_client_backend::data_api::WalletRead
|
//! [`WalletRead`]: zcash_client_backend::data_api::WalletRead
|
||||||
//! [`WalletWrite`]: zcash_client_backend::data_api::WalletWrite
|
//! [`WalletWrite`]: zcash_client_backend::data_api::WalletWrite
|
||||||
|
|
||||||
use ff::PrimeField;
|
use group::ff::PrimeField;
|
||||||
use rusqlite::{OptionalExtension, ToSql, NO_PARAMS};
|
use rusqlite::{OptionalExtension, ToSql, NO_PARAMS};
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::convert::TryFrom;
|
use std::convert::TryFrom;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//!
|
//!
|
||||||
use rusqlite::{named_params, Row};
|
use rusqlite::{named_params, Row};
|
||||||
|
|
||||||
use ff::PrimeField;
|
use group::ff::PrimeField;
|
||||||
|
|
||||||
use zcash_primitives::{
|
use zcash_primitives::{
|
||||||
consensus::BlockHeight,
|
consensus::BlockHeight,
|
||||||
|
|
Loading…
Reference in New Issue