[sdks/android] Pre: Fix unused warnings.
This commit is contained in:
parent
89d8ac50a8
commit
9e6505a930
1 changed files with 10 additions and 3 deletions
13
src/store.rs
13
src/store.rs
|
@ -41,8 +41,6 @@ use mentat_db::{
|
||||||
#[cfg(feature = "syncable")]
|
#[cfg(feature = "syncable")]
|
||||||
use mentat_tolstoy::Syncer;
|
use mentat_tolstoy::Syncer;
|
||||||
|
|
||||||
use uuid::Uuid;
|
|
||||||
|
|
||||||
use conn::{
|
use conn::{
|
||||||
CacheAction,
|
CacheAction,
|
||||||
CacheDirection,
|
CacheDirection,
|
||||||
|
@ -51,7 +49,11 @@ use conn::{
|
||||||
InProgressRead,
|
InProgressRead,
|
||||||
Pullable,
|
Pullable,
|
||||||
Queryable,
|
Queryable,
|
||||||
Syncable
|
};
|
||||||
|
|
||||||
|
#[cfg(feature = "syncable")]
|
||||||
|
use conn::{
|
||||||
|
Syncable,
|
||||||
};
|
};
|
||||||
|
|
||||||
use errors::*;
|
use errors::*;
|
||||||
|
@ -238,6 +240,9 @@ impl Pullable for Store {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "syncable")]
|
||||||
|
use uuid::Uuid;
|
||||||
|
|
||||||
#[cfg(feature = "syncable")]
|
#[cfg(feature = "syncable")]
|
||||||
impl Syncable for Store {
|
impl Syncable for Store {
|
||||||
fn sync(&mut self, server_uri: &String, user_uuid: &String) -> Result<()> {
|
fn sync(&mut self, server_uri: &String, user_uuid: &String) -> Result<()> {
|
||||||
|
@ -266,6 +271,8 @@ mod tests {
|
||||||
Duration,
|
Duration,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
use uuid::Uuid;
|
||||||
|
|
||||||
use mentat_db::cache::{
|
use mentat_db::cache::{
|
||||||
SQLiteAttributeCache,
|
SQLiteAttributeCache,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue