diff options
author | Wez Furlong <wez@wezfurlong.org> | 2019-07-23 17:46:37 -0700 |
---|---|---|
committer | Wez Furlong <wez@wezfurlong.org> | 2019-07-29 08:55:06 -0700 |
commit | eac5df1d22eea071708db2e57dc0637ceb3fc580 (patch) | |
tree | efb3a436dc599db19c7e517788da8199caeaacf4 /src/lib.rs | |
parent | 1bbdfca88957747a9ad2d6010c84abe4189b2439 (diff) | |
download | ssh2-rs-eac5df1d22eea071708db2e57dc0637ceb3fc580.zip |
Channel, Sftp no longer borrow Session
Instead the internal session is kept alive via Rc
Refs: https://github.com/alexcrichton/ssh2-rs/issues/53
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -141,6 +141,7 @@ pub use channel::{Channel, ExitSignal, ReadWindow, Stream, WriteWindow}; pub use error::Error; pub use knownhosts::{Host, Hosts, KnownHosts}; pub use listener::Listener; +use session::SessionInner; pub use session::{ScpFileStat, Session}; pub use sftp::{File, FileStat, FileType, OpenType}; pub use sftp::{OpenFlags, RenameFlags, Sftp}; |