Skip to content

Commit

Permalink
Remove: unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
korvyashka committed May 16, 2024
1 parent 9bee22b commit 537baab
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/commands/edge_app_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use serde::{Deserialize, Serialize};

use std::path::{Path, PathBuf};
use std::sync::Arc;
use warp::reject::Reject;
use warp::{Filter, Rejection, Reply};

pub const MOCK_DATA_FILENAME: &str = "mock-data.yml";
Expand Down Expand Up @@ -79,11 +78,6 @@ pub async fn run_server(
Ok(format!("http://{}/edge/1", addr))
}

#[derive(Debug)]
struct WarpError(#[allow(dead_code)] anyhow::Error);

impl Reject for WarpError {}

#[derive(Debug, Deserialize, Serialize, Clone)]
pub struct Metadata {
coordinates: Vec<String>,
Expand Down

0 comments on commit 537baab

Please sign in to comment.