File tree Expand file tree Collapse file tree 3 files changed +1
-17
lines changed Expand file tree Collapse file tree 3 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,11 @@ dirs = "4.0.0"
5151
5252openssh-mux-client = { version = " 0.15.0" , optional = true }
5353
54- openssh-sftp-client = { version = " 0.9.0" , optional = true }
55-
5654[dev-dependencies ]
5755lazy_static = " 1.4.0"
5856regex = " 1"
5957tokio = { version = " 1" , features = [ " full" ] }
58+ openssh-sftp-client = " 0.10.0"
6059
6160[[example ]]
6261name = " native-mux_tsp"
Original file line number Diff line number Diff line change @@ -128,20 +128,6 @@ impl_try_from_tokio_process_child_for_stdio!(ChildStderr);
128128#[ derive( Debug ) ]
129129pub struct ChildStdin ( tokio_pipe:: PipeWrite ) ;
130130
131- #[ cfg( feature = "openssh-sftp-client" ) ]
132- impl openssh_sftp_client:: Writer for ChildStdin {
133- const MAX_ATOMIC_WRITE_LEN : usize =
134- <tokio_pipe:: PipeWrite as openssh_sftp_client:: Writer >:: MAX_ATOMIC_WRITE_LEN ;
135-
136- fn poll_write_vectored_atomic (
137- & self ,
138- cx : & mut Context < ' _ > ,
139- bufs : & [ io:: IoSlice < ' _ > ] ,
140- ) -> Poll < io:: Result < ( ) > > {
141- self . 0 . poll_write_vectored_atomic ( cx, bufs)
142- }
143- }
144-
145131/// Stdout for the remote child.
146132#[ derive( Debug ) ]
147133pub struct ChildStdout ( tokio_pipe:: PipeRead ) ;
Original file line number Diff line number Diff line change @@ -823,7 +823,6 @@ async fn local_socket_forward() {
823823 }
824824}
825825
826- #[ cfg( feature = "openssh-sftp-client" ) ]
827826#[ tokio:: test]
828827#[ cfg_attr( not( ci) , ignore) ]
829828async fn test_sftp_subsystem ( ) {
You can’t perform that action at this time.
0 commit comments