Replace RoutingDsl trait with Router type (#214)

* Remove `RoutingDsl`

* Fix typo
This commit is contained in:
David Pedersen
2021-08-19 21:24:32 +02:00
committed by GitHub
parent 0fd17d4181
commit 97b53768ba
45 changed files with 177 additions and 283 deletions
@@ -14,9 +14,7 @@ use axum::{
handler::{get, post},
http::{Response, StatusCode},
response::IntoResponse,
route,
routing::RoutingDsl,
AddExtensionLayer, Json,
route, AddExtensionLayer, Json,
};
use serde::{Deserialize, Serialize};
use serde_json::json;