summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorWez Furlong <wez@wezfurlong.org>2019-07-23 17:46:37 -0700
committerWez Furlong <wez@wezfurlong.org>2019-07-29 08:55:06 -0700
commiteac5df1d22eea071708db2e57dc0637ceb3fc580 (patch)
treeefb3a436dc599db19c7e517788da8199caeaacf4 /src/lib.rs
parent1bbdfca88957747a9ad2d6010c84abe4189b2439 (diff)
downloadssh2-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.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b02b77d..64d5601 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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};