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.
19 lines
567 B
Rust
19 lines
567 B
Rust
2 years ago
|
use crate::{DistantMsg, DistantRequestData, DistantResponseData};
|
||
|
use distant_net::{Channel, Client};
|
||
|
|
||
|
mod ext;
|
||
|
mod lsp;
|
||
|
mod process;
|
||
|
mod watcher;
|
||
|
|
||
|
/// Represents a [`Client`] that communicates using the distant protocol
|
||
|
pub type DistantClient = Client<DistantMsg<DistantRequestData>, DistantMsg<DistantResponseData>>;
|
||
|
|
||
|
/// Represents a [`Channel`] that communicates using the distant protocol
|
||
|
pub type DistantChannel = Channel<DistantMsg<DistantRequestData>, DistantMsg<DistantResponseData>>;
|
||
|
|
||
|
pub use ext::*;
|
||
|
pub use lsp::*;
|
||
|
pub use process::*;
|
||
|
pub use watcher::*;
|