Export SessionExt and related components

pull/55/head v0.14.2
Chip Senkbeil 3 years ago
parent 8c9a35025b
commit f4eae0a467
No known key found for this signature in database
GPG Key ID: 35EF1F8EC72A4131

4
Cargo.lock generated

@ -216,7 +216,7 @@ checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8"
[[package]] [[package]]
name = "distant" name = "distant"
version = "0.14.1" version = "0.14.2"
dependencies = [ dependencies = [
"assert_cmd", "assert_cmd",
"assert_fs", "assert_fs",
@ -239,7 +239,7 @@ dependencies = [
[[package]] [[package]]
name = "distant-core" name = "distant-core"
version = "0.14.1" version = "0.14.2"
dependencies = [ dependencies = [
"assert_fs", "assert_fs",
"bytes", "bytes",

@ -3,7 +3,7 @@ name = "distant"
description = "Operate on a remote computer through file and process manipulation" description = "Operate on a remote computer through file and process manipulation"
categories = ["command-line-utilities"] categories = ["command-line-utilities"]
keywords = ["cli"] keywords = ["cli"]
version = "0.14.1" version = "0.14.2"
authors = ["Chip Senkbeil <chip@senkbeil.org>"] authors = ["Chip Senkbeil <chip@senkbeil.org>"]
edition = "2018" edition = "2018"
homepage = "https://github.com/chipsenkbeil/distant" homepage = "https://github.com/chipsenkbeil/distant"
@ -21,7 +21,7 @@ codegen-units = 1
[dependencies] [dependencies]
derive_more = { version = "0.99.16", default-features = false, features = ["display", "from", "error", "is_variant"] } 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" flexi_logger = "0.18.0"
fork = "0.1.18" fork = "0.1.18"
lazy_static = "1.4.0" lazy_static = "1.4.0"

@ -2,7 +2,7 @@
name = "distant-core" name = "distant-core"
description = "Core library for distant, enabling operation on a remote computer through file and process manipulation" description = "Core library for distant, enabling operation on a remote computer through file and process manipulation"
categories = ["network-programming"] categories = ["network-programming"]
version = "0.14.1" version = "0.14.2"
authors = ["Chip Senkbeil <chip@senkbeil.org>"] authors = ["Chip Senkbeil <chip@senkbeil.org>"]
edition = "2018" edition = "2018"
homepage = "https://github.com/chipsenkbeil/distant" homepage = "https://github.com/chipsenkbeil/distant"

@ -4,5 +4,5 @@ mod session;
mod utils; mod utils;
pub use lsp::*; pub use lsp::*;
pub use process::{RemoteProcess, RemoteProcessError, RemoteStderr, RemoteStdin, RemoteStdout}; pub use process::*;
pub use session::*; pub use session::*;

@ -20,7 +20,7 @@ use tokio::{
}; };
mod ext; mod ext;
pub use ext::SessionExt; pub use ext::{Metadata, SessionExt, SessionExtError};
mod info; mod info;
pub use info::{SessionInfo, SessionInfoFile, SessionInfoParseError}; pub use info::{SessionInfo, SessionInfoFile, SessionInfoParseError};

@ -1,23 +1,13 @@
mod client; mod client;
pub use 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,
};
mod constants; mod constants;
mod net; mod net;
pub use net::{ pub use net::*;
Codec, DataStream, InmemoryStream, InmemoryStreamReadHalf, InmemoryStreamWriteHalf, Listener,
PlainCodec, SecretKey, SecretKey32, SecretKeyError, Transport, TransportError,
TransportListener, TransportReadHalf, TransportWriteHalf, UnprotectedToHexKey,
XChaCha20Poly1305Codec,
};
pub mod data; pub mod data;
pub use data::{Request, RequestData, Response, ResponseData}; pub use data::*;
mod server; mod server;
pub use server::{DistantServer, DistantServerOptions, PortRange, RelayServer}; pub use server::*;

Loading…
Cancel
Save