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"
51
51
52
52
openssh-mux-client = { version = " 0.15.0" , optional = true }
53
53
54
- openssh-sftp-client = { version = " 0.9.0" , optional = true }
55
-
56
54
[dev-dependencies ]
57
55
lazy_static = " 1.4.0"
58
56
regex = " 1"
59
57
tokio = { version = " 1" , features = [ " full" ] }
58
+ openssh-sftp-client = " 0.10.0"
60
59
61
60
[[example ]]
62
61
name = " 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);
128
128
#[ derive( Debug ) ]
129
129
pub struct ChildStdin ( tokio_pipe:: PipeWrite ) ;
130
130
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
-
145
131
/// Stdout for the remote child.
146
132
#[ derive( Debug ) ]
147
133
pub struct ChildStdout ( tokio_pipe:: PipeRead ) ;
Original file line number Diff line number Diff line change @@ -823,7 +823,6 @@ async fn local_socket_forward() {
823
823
}
824
824
}
825
825
826
- #[ cfg( feature = "openssh-sftp-client" ) ]
827
826
#[ tokio:: test]
828
827
#[ cfg_attr( not( ci) , ignore) ]
829
828
async fn test_sftp_subsystem ( ) {
You can’t perform that action at this time.
0 commit comments