Rename to axum (#28)

This commit is contained in:
David Pedersen
2021-07-09 21:36:14 +02:00
committed by GitHub
parent 3cd4a1d6a6
commit 5a5710d290
27 changed files with 131 additions and 131 deletions
+2 -2
View File
@@ -9,7 +9,7 @@
//! --example websocket
//! ```
use awebframework::{
use axum::{
prelude::*,
routing::nest,
service::ServiceExt,
@@ -29,7 +29,7 @@ async fn main() {
// build our application with some routes
let app = nest(
"/",
awebframework::service::get(
axum::service::get(
ServeDir::new("examples/websocket")
.append_index_html_on_directories(true)
.handle_error(|error: std::io::Error| {