rebind_client/lib.rs
1//! Rebind remote access client.
2//!
3//! ```no_run
4//! use rebind_client::RebindClient;
5//!
6//! #[tokio::main]
7//! async fn main() -> rebind_client::Result<()> {
8//! let mut client = RebindClient::connect("ws://127.0.0.1:19561").await?;
9//!
10//! client.hid_move(30, -5);
11//! let (x, y) = client.system_mouse().await?;
12//! println!("mouse at {x},{y}");
13//!
14//! client.close().await;
15//! Ok(())
16//! }
17//! ```
18
19pub mod error;
20pub mod types;
21
22mod client;
23
24pub use client::RebindClient;
25pub use error::{RebindError, Result};
26pub use types::*;