@@ -23,8 +23,8 @@ use std::{
2323use juniper:: {
2424 futures:: {
2525 channel:: oneshot,
26- future:: { self , BoxFuture , Either , Future , FutureExt , TryFutureExt } ,
27- stream:: { self , BoxStream , SelectAll , StreamExt } ,
26+ future:: { self , BoxFuture , Either , Future , FutureExt as _ , TryFutureExt as _ } ,
27+ stream:: { self , BoxStream , SelectAll , StreamExt as _ } ,
2828 task:: { Context , Poll , Waker } ,
2929 Sink , Stream ,
3030 } ,
@@ -547,16 +547,21 @@ where
547547
548548#[ cfg( test) ]
549549mod test {
550- use std:: { convert:: Infallible , io} ;
550+ use std:: { convert:: Infallible , io, sync :: Arc , time :: Duration } ;
551551
552552 use juniper:: {
553- futures:: sink:: SinkExt ,
553+ futures:: {
554+ future:: { self , FutureExt as _} ,
555+ sink:: SinkExt ,
556+ stream:: { self , BoxStream , StreamExt as _} ,
557+ } ,
554558 graphql_input_value, graphql_object, graphql_subscription, graphql_value, graphql_vars,
555559 parser:: { ParseError , Spanning } ,
556- DefaultScalarValue , EmptyMutation , FieldError , FieldResult , RootNode , Variables ,
560+ DefaultScalarValue , EmptyMutation , FieldError , FieldResult , GraphQLError , RootNode ,
561+ Variables ,
557562 } ;
558563
559- use super :: * ;
564+ use super :: { Connection , ConnectionConfig , ConnectionErrorPayload , DataPayload , StartPayload } ;
560565
561566 struct Context ( i32 ) ;
562567
0 commit comments