Skip to content

Commit f4eae0a

Browse files
committed
Export SessionExt and related components
1 parent 8c9a350 commit f4eae0a

6 files changed

Lines changed: 11 additions & 21 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "distant"
33
description = "Operate on a remote computer through file and process manipulation"
44
categories = ["command-line-utilities"]
55
keywords = ["cli"]
6-
version = "0.14.1"
6+
version = "0.14.2"
77
authors = ["Chip Senkbeil <chip@senkbeil.org>"]
88
edition = "2018"
99
homepage = "https://github.com/chipsenkbeil/distant"
@@ -21,7 +21,7 @@ codegen-units = 1
2121

2222
[dependencies]
2323
derive_more = { version = "0.99.16", default-features = false, features = ["display", "from", "error", "is_variant"] }
24-
distant-core = { version = "=0.14.1", path = "core", features = ["structopt"] }
24+
distant-core = { version = "=0.14.2", path = "core", features = ["structopt"] }
2525
flexi_logger = "0.18.0"
2626
fork = "0.1.18"
2727
lazy_static = "1.4.0"

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "distant-core"
33
description = "Core library for distant, enabling operation on a remote computer through file and process manipulation"
44
categories = ["network-programming"]
5-
version = "0.14.1"
5+
version = "0.14.2"
66
authors = ["Chip Senkbeil <chip@senkbeil.org>"]
77
edition = "2018"
88
homepage = "https://github.com/chipsenkbeil/distant"

core/src/client/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ mod session;
44
mod utils;
55

66
pub use lsp::*;
7-
pub use process::{RemoteProcess, RemoteProcessError, RemoteStderr, RemoteStdin, RemoteStdout};
7+
pub use process::*;
88
pub use session::*;

core/src/client/session/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use tokio::{
2020
};
2121

2222
mod ext;
23-
pub use ext::SessionExt;
23+
pub use ext::{Metadata, SessionExt, SessionExtError};
2424

2525
mod info;
2626
pub use info::{SessionInfo, SessionInfoFile, SessionInfoParseError};

core/src/lib.rs

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
mod client;
2-
pub use client::{
3-
LspContent, LspContentParseError, LspData, LspDataParseError, LspHeader, LspHeaderParseError,
4-
LspSessionInfoError, Mailbox, RemoteLspProcess, RemoteLspStderr, RemoteLspStdin,
5-
RemoteLspStdout, RemoteProcess, RemoteProcessError, RemoteStderr, RemoteStdin, RemoteStdout,
6-
Session, SessionInfo, SessionInfoFile, SessionInfoParseError,
7-
};
2+
pub use client::*;
83

94
mod constants;
105

116
mod net;
12-
pub use net::{
13-
Codec, DataStream, InmemoryStream, InmemoryStreamReadHalf, InmemoryStreamWriteHalf, Listener,
14-
PlainCodec, SecretKey, SecretKey32, SecretKeyError, Transport, TransportError,
15-
TransportListener, TransportReadHalf, TransportWriteHalf, UnprotectedToHexKey,
16-
XChaCha20Poly1305Codec,
17-
};
7+
pub use net::*;
188

199
pub mod data;
20-
pub use data::{Request, RequestData, Response, ResponseData};
10+
pub use data::*;
2111

2212
mod server;
23-
pub use server::{DistantServer, DistantServerOptions, PortRange, RelayServer};
13+
pub use server::*;

0 commit comments

Comments
 (0)