Rename to awebframework (#13)

This commit is contained in:
David Pedersen
2021-06-13 11:22:02 +02:00
committed by GitHub
parent 27ebb3db7a
commit 1002685a20
20 changed files with 137 additions and 138 deletions
+7 -7
View File
@@ -1,4 +1,4 @@
//! Simple in-memory key/value store showing features of tower-web.
//! Simple in-memory key/value store showing features of awebframework.
//!
//! Run with:
//!
@@ -6,6 +6,12 @@
//! RUST_LOG=tower_http=debug,key_value_store=trace cargo run --example key_value_store
//! ```
use awebframework::{
extract::{ContentLengthLimit, Extension, UrlParams},
prelude::*,
response::IntoResponse,
routing::BoxRoute,
};
use bytes::Bytes;
use http::StatusCode;
use std::{
@@ -20,12 +26,6 @@ use tower_http::{
add_extension::AddExtensionLayer, auth::RequireAuthorizationLayer,
compression::CompressionLayer, trace::TraceLayer,
};
use tower_web::{
extract::{ContentLengthLimit, Extension, UrlParams},
prelude::*,
response::IntoResponse,
routing::BoxRoute,
};
#[tokio::main]
async fn main() {