1 2 3 4 5 6 7 8 9 10 11
extern crate dhc; fn main() { dhc::init(); let ctx = dhc::Context::instance(); loop { ctx.update(); std::thread::sleep(std::time::Duration::from_millis(3000)); } }