Skip to content

Commit

Permalink
Export SessionExt and related components
Browse files Browse the repository at this point in the history
  • Loading branch information
chipsenkbeil committed Sep 19, 2021
1 parent 8c9a350 commit f4eae0a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 21 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "distant"
description = "Operate on a remote computer through file and process manipulation"
categories = ["command-line-utilities"]
keywords = ["cli"]
version = "0.14.1"
version = "0.14.2"
authors = ["Chip Senkbeil <[email protected]>"]
edition = "2018"
homepage = "https://github.com/chipsenkbeil/distant"
Expand All @@ -21,7 +21,7 @@ codegen-units = 1

[dependencies]
derive_more = { version = "0.99.16", default-features = false, features = ["display", "from", "error", "is_variant"] }
distant-core = { version = "=0.14.1", path = "core", features = ["structopt"] }
distant-core = { version = "=0.14.2", path = "core", features = ["structopt"] }
flexi_logger = "0.18.0"
fork = "0.1.18"
lazy_static = "1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "distant-core"
description = "Core library for distant, enabling operation on a remote computer through file and process manipulation"
categories = ["network-programming"]
version = "0.14.1"
version = "0.14.2"
authors = ["Chip Senkbeil <[email protected]>"]
edition = "2018"
homepage = "https://github.com/chipsenkbeil/distant"
Expand Down
2 changes: 1 addition & 1 deletion core/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ mod session;
mod utils;

pub use lsp::*;
pub use process::{RemoteProcess, RemoteProcessError, RemoteStderr, RemoteStdin, RemoteStdout};
pub use process::*;
pub use session::*;
2 changes: 1 addition & 1 deletion core/src/client/session/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use tokio::{
};

mod ext;
pub use ext::SessionExt;
pub use ext::{Metadata, SessionExt, SessionExtError};

mod info;
pub use info::{SessionInfo, SessionInfoFile, SessionInfoParseError};
Expand Down
18 changes: 4 additions & 14 deletions core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
mod client;
pub use client::{
LspContent, LspContentParseError, LspData, LspDataParseError, LspHeader, LspHeaderParseError,
LspSessionInfoError, Mailbox, RemoteLspProcess, RemoteLspStderr, RemoteLspStdin,
RemoteLspStdout, RemoteProcess, RemoteProcessError, RemoteStderr, RemoteStdin, RemoteStdout,
Session, SessionInfo, SessionInfoFile, SessionInfoParseError,
};
pub use client::*;

mod constants;

mod net;
pub use net::{
Codec, DataStream, InmemoryStream, InmemoryStreamReadHalf, InmemoryStreamWriteHalf, Listener,
PlainCodec, SecretKey, SecretKey32, SecretKeyError, Transport, TransportError,
TransportListener, TransportReadHalf, TransportWriteHalf, UnprotectedToHexKey,
XChaCha20Poly1305Codec,
};
pub use net::*;

pub mod data;
pub use data::{Request, RequestData, Response, ResponseData};
pub use data::*;

mod server;
pub use server::{DistantServer, DistantServerOptions, PortRange, RelayServer};
pub use server::*;

0 comments on commit f4eae0a

Please sign in to comment.