Buttplug sex toy control library
at master 472 B view raw
1use buttplug_client_in_process::in_process_client; 2 3#[tokio::main] 4async fn main() -> anyhow::Result<()> { 5 // Run this to turn on the environment logger. Running this more than once will panic. 6 tracing_subscriber::fmt::init(); 7 8 // Now when you connect here, if you've set the RUST_LOG environment variable 9 // (set it to "Info" or "Debug"), you should see messages about connection 10 // setup. 11 let _client = in_process_client("Example Client").await; 12 13 Ok(()) 14}