mirror of https://github.com/chipsenkbeil/distant
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
597 B
Rust
25 lines
597 B
Rust
use distant_net::client::Channel;
|
|
use distant_net::Client;
|
|
|
|
use crate::protocol;
|
|
|
|
mod ext;
|
|
mod lsp;
|
|
mod process;
|
|
mod searcher;
|
|
mod watcher;
|
|
|
|
/// Represents a [`Client`] that communicates using the distant protocol
|
|
pub type DistantClient =
|
|
Client<protocol::Msg<protocol::Request>, protocol::Msg<protocol::Response>>;
|
|
|
|
/// Represents a [`Channel`] that communicates using the distant protocol
|
|
pub type DistantChannel =
|
|
Channel<protocol::Msg<protocol::Request>, protocol::Msg<protocol::Response>>;
|
|
|
|
pub use ext::*;
|
|
pub use lsp::*;
|
|
pub use process::*;
|
|
pub use searcher::*;
|
|
pub use watcher::*;
|