1 2 3 4 5 6 7 8 9 10 11 12 13
use bwt::{App, Config, Result}; fn main() -> Result<()> { Config::dotenv(); let config = Config::from_args_env()?; config.setup_logger(); let app = App::boot(config, None)?; app.sync_loop(None); Ok(()) }