Skip to content

Commit

Permalink
Add middleware exports
Browse files Browse the repository at this point in the history
  • Loading branch information
swlkr committed May 28, 2024
1 parent d5cb4f4 commit 0879dd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/db/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ fn TodoListRow(todo: &Todo) -> Component {

fn View(elements: Elements) -> Component {
html! {
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
<title>ryde db example</title>
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pub use axum::{
http::{self, header::*, Uri},
response::*,
routing::{any, delete, get, head, patch, post, put, trace},
middleware::Next,
*,
};
pub use axum_extra::{extract::*, headers};
Expand All @@ -25,6 +26,7 @@ pub use std::sync::Arc;
pub use tokio;
use tokio::task::JoinError;
pub use tokio::*;
pub use tower;

pub type Result<T> = std::result::Result<T, Error>;

Expand Down

0 comments on commit 0879dd6

Please sign in to comment.