1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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::*;