Remove http crate from axum example (#1789)

This commit is contained in:
J 2023-04-09 17:55:17 +02:00 committed by GitHub
parent e075be16b8
commit 5d929041cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -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"

View file

@ -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)]