Remove http crate from axum example (#1789)
This commit is contained in:
parent
e075be16b8
commit
5d929041cb
2 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue