Skip to content

Commit

Permalink
chore(clippy): remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
petarvujovic98 committed Jun 18, 2024
1 parent 5e53b2b commit 405459e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 6 additions & 8 deletions host/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

pub mod interfaces;
pub mod metrics;
pub mod server;

use std::{alloc, path::PathBuf, sync::Arc};
use std::{alloc, path::PathBuf};

use anyhow::Context;
use cap::Cap;
Expand All @@ -26,13 +21,16 @@ use raiko_core::{
merge,
};
use raiko_lib::consts::SupportedChainSpecs;
use raiko_task_manager::TaskDb;
use serde::{Deserialize, Serialize};
use serde_json::Value;
use tokio::sync::{mpsc, Mutex};
use tokio::sync::mpsc;

use crate::interfaces::HostResult;

pub mod interfaces;
pub mod metrics;
pub mod server;

#[global_allocator]
static ALLOCATOR: Cap<alloc::System> = Cap::new(alloc::System, usize::MAX);

Expand Down
3 changes: 2 additions & 1 deletion host/src/server/api/v2/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
mod proof;
use axum::Router;
use utoipa::OpenApi;
use utoipa_scalar::{Scalar, Servable};
Expand All @@ -9,6 +8,8 @@ use crate::{
ProverState,
};

mod proof;

#[derive(OpenApi)]
#[openapi(
info(
Expand Down

0 comments on commit 405459e

Please sign in to comment.