mirror of
https://github.com/transatoshi-mw/grin-explorer.git
synced 2025-10-22 05:43:42 +00:00
removed unwrap and code cleanup
This commit is contained in:
10
src/main.rs
10
src/main.rs
@@ -1,4 +1,5 @@
|
||||
#[macro_use] extern crate rocket;
|
||||
use either::Either;
|
||||
use rocket_dyn_templates::{Template, context};
|
||||
use rocket::fs::FileServer;
|
||||
use rocket::{State, tokio};
|
||||
@@ -6,18 +7,17 @@ use rocket::response::Redirect;
|
||||
use rocket::serde::json::json;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::time::Duration;
|
||||
use either::Either;
|
||||
use serde_json::Value;
|
||||
|
||||
mod worker;
|
||||
mod requests;
|
||||
mod data;
|
||||
mod requests;
|
||||
mod worker;
|
||||
|
||||
use crate::data::Dashboard;
|
||||
use crate::data::Block;
|
||||
use crate::data::Transactions;
|
||||
use crate::data::Dashboard;
|
||||
use crate::data::Kernel;
|
||||
use crate::data::Output;
|
||||
use crate::data::Transactions;
|
||||
use crate::requests::CONFIG;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user