diff --git a/Cargo.lock b/Cargo.lock index 57e824c..bc907e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -216,7 +216,7 @@ checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" [[package]] name = "distant" -version = "0.14.1" +version = "0.14.2" dependencies = [ "assert_cmd", "assert_fs", @@ -239,7 +239,7 @@ dependencies = [ [[package]] name = "distant-core" -version = "0.14.1" +version = "0.14.2" dependencies = [ "assert_fs", "bytes", diff --git a/Cargo.toml b/Cargo.toml index a9bdac9..2c32972 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 "] edition = "2018" homepage = "https://github.com/chipsenkbeil/distant" @@ -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" diff --git a/core/Cargo.toml b/core/Cargo.toml index c2e6d65..f339a3f 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -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 "] edition = "2018" homepage = "https://github.com/chipsenkbeil/distant" diff --git a/core/src/client/mod.rs b/core/src/client/mod.rs index a48cb61..6ea59c1 100644 --- a/core/src/client/mod.rs +++ b/core/src/client/mod.rs @@ -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::*; diff --git a/core/src/client/session/mod.rs b/core/src/client/session/mod.rs index afeddb0..cdc27b4 100644 --- a/core/src/client/session/mod.rs +++ b/core/src/client/session/mod.rs @@ -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}; diff --git a/core/src/lib.rs b/core/src/lib.rs index ada4126..7754de9 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -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::*;