diff options
Diffstat (limited to 'karld/src/interface/mod.rs')
-rw-r--r-- | karld/src/interface/mod.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/karld/src/interface/mod.rs b/karld/src/interface/mod.rs index 6122a8c..597524a 100644 --- a/karld/src/interface/mod.rs +++ b/karld/src/interface/mod.rs @@ -2,12 +2,22 @@ mod unix; #[cfg(feature = "websocket")] mod websocket; +#[cfg(feature = "stdio")] +mod stdio; +#[cfg(feature = "tcp")] +mod tcp; + +pub mod generic; pub fn start() { #[cfg(feature = "unix")] std::thread::spawn(|| unix::run()); #[cfg(feature = "websocket")] std::thread::spawn(|| websocket::run()); + #[cfg(feature = "stdio")] + std::thread::spawn(|| stdio::run()); + #[cfg(feature = "tcp")] + std::thread::spawn(|| tcp::run()); #[cfg(not(feature = "websocket"))] #[cfg(not(feature = "unix"))] |