zcash_client_sqlite: Remove direct ff dependency

This commit is contained in:
Jack Grigg 2021-06-04 22:09:08 +01:00
parent b3f13020ac
commit e54e3f21e8
4 changed files with 3 additions and 5 deletions

View File

@ -16,7 +16,6 @@ rust-version = "1.56.1"
[dependencies]
bech32 = "0.8"
bs58 = { version = "0.4", features = ["check"] }
ff = "0.12"
group = "0.12"
hdwallet = { version = "0.3.1", optional = true }
jubjub = "0.9"

View File

@ -887,8 +887,7 @@ impl BlockSource for FsBlockDb {
#[cfg(test)]
#[allow(deprecated)]
mod tests {
use ff::PrimeField;
use group::GroupEncoding;
use group::{ff::PrimeField, GroupEncoding};
use protobuf::Message;
use rand_core::{OsRng, RngCore};
use rusqlite::params;

View File

@ -7,7 +7,7 @@
//! [`WalletRead`]: zcash_client_backend::data_api::WalletRead
//! [`WalletWrite`]: zcash_client_backend::data_api::WalletWrite
use ff::PrimeField;
use group::ff::PrimeField;
use rusqlite::{OptionalExtension, ToSql, NO_PARAMS};
use std::collections::HashMap;
use std::convert::TryFrom;

View File

@ -2,7 +2,7 @@
//!
use rusqlite::{named_params, Row};
use ff::PrimeField;
use group::ff::PrimeField;
use zcash_primitives::{
consensus::BlockHeight,