diff --git a/lib/examples/axum/Cargo.toml b/lib/examples/axum/Cargo.toml index 711ff362..123ac0b6 100644 --- a/lib/examples/axum/Cargo.toml +++ b/lib/examples/axum/Cargo.toml @@ -6,7 +6,6 @@ publish = false [dependencies] axum = "0.6.12" -http = "0.2.9" serde = { version = "1.0.159", features = ["derive"] } surrealdb = { path = "../.." } thiserror = "1.0.40" diff --git a/lib/examples/axum/src/error.rs b/lib/examples/axum/src/error.rs index ccefe564..a9a437ab 100644 --- a/lib/examples/axum/src/error.rs +++ b/lib/examples/axum/src/error.rs @@ -1,7 +1,7 @@ +use axum::http::StatusCode; use axum::response::IntoResponse; use axum::response::Response; use axum::Json; -use http::StatusCode; use thiserror::Error; #[derive(Error, Debug)]