blob: 38c98950cc2ef9205e371c650740164a09001a20 (
plain)
1
2
3
4
5
6
7
8
9
10
|
use std::thread;
mod unix;
mod websocket;
pub fn start() {
#[cfg(feature = "unix")]
thread::spawn(|| unix::run());
#[cfg(feature = "websocket")]
thread::spawn(|| websocket::run());
}
|