Skip to content

Commit

Permalink
fix clap issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cschin committed Dec 12, 2023
1 parent 8859cd2 commit cd43d12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pgr-web/pgr-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tower = "0.4.13"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
svg = "*"
clap = "4.2.7"
clap = { version = "4.2.7", features = ["derive"] }
serde_qs = "0.12.0"
serde_with = "3.0.0"

Expand Down
4 changes: 2 additions & 2 deletions pgr-web/pgr-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pub mod bundle_processing;

use axum::{
body::{boxed, Body},
extract::ws::{Message, WebSocket, WebSocketUpgrade},
extract::ws::{WebSocket, WebSocketUpgrade},
extract::Query,
http::{Response, StatusCode},
response,
Expand All @@ -11,7 +11,7 @@ use axum::{
Json, Router,
};
use bundle_processing::*;
use clap::Parser;
use clap::{self, Parser};
use pgr_db::ext::*;
use rustc_hash::FxHashMap;
use std::net::SocketAddr;
Expand Down

0 comments on commit cd43d12

Please sign in to comment.