diff --git a/gremlin-client/src/client.rs b/gremlin-client/src/client.rs index b3e49e4..98535de 100644 --- a/gremlin-client/src/client.rs +++ b/gremlin-client/src/client.rs @@ -1,4 +1,3 @@ -use crate::io::IoProtocol; use crate::message::Response; use crate::pool::GremlinConnectionManager; use crate::process::traversal::Bytecode; diff --git a/gremlin-client/src/io/mod.rs b/gremlin-client/src/io/mod.rs index 846c46d..1a8ae4a 100644 --- a/gremlin-client/src/io/mod.rs +++ b/gremlin-client/src/io/mod.rs @@ -9,15 +9,13 @@ use crate::message::{ReponseStatus, RequestIdV2, Response, ResponseResult}; use crate::process::traversal::{Order, Scope}; use crate::structure::{Cardinality, Direction, GValue, Merge, T}; use graph_binary_v1::GraphBinaryV1Deser; -use serde::{Deserialize as SerdeDeserialize, Deserializer}; use serde_derive::Deserialize; use serde_json::{json, Map, Value}; use std::collections::HashMap; -use std::convert::TryInto; use std::string::ToString; use uuid::Uuid; -use crate::{io::graph_binary_v1::GraphBinaryV1Ser, GKey, GremlinError, GremlinResult, Message}; +use crate::{io::graph_binary_v1::GraphBinaryV1Ser, GremlinError, GremlinResult, Message}; #[derive(Debug, Clone, PartialEq)] pub enum IoProtocol { diff --git a/gremlin-client/tests/graph_binary_read_write_cycle.rs b/gremlin-client/tests/graph_binary_read_write_cycle.rs index 4e782f7..667e45e 100644 --- a/gremlin-client/tests/graph_binary_read_write_cycle.rs +++ b/gremlin-client/tests/graph_binary_read_write_cycle.rs @@ -1,12 +1,10 @@ use std::array::IntoIter; -use std::collections::{HashMap, HashSet}; +use std::collections::HashMap; -use chrono::{DateTime, TimeZone, Utc}; +use chrono::{TimeZone, Utc}; use common::io::graph_serializer; use gremlin_client::{ - process::traversal::{ - traversal, Bytecode, GraphTraversal, GraphTraversalSource, Scope, SyncTerminator, - }, + process::traversal::{traversal, GraphTraversalSource, SyncTerminator}, GValue, IoProtocol, }; use rstest::rstest;