mirror of
https://github.com/LeNei/axum-sqlx-template.git
synced 2026-02-13 14:54:40 +00:00
update dependencies
This commit is contained in:
1849
Cargo.lock
generated
1849
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
17
Cargo.toml
17
Cargo.toml
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "axum-sqlx-template"
|
name = "axum-sqlx-template"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
edition = "2021"
|
edition = "2024"
|
||||||
authors = ["LeNei <leonmarc.neisskenwirth@gmail.com>"]
|
authors = ["LeNei <leonmarc.neisskenwirth@gmail.com>"]
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
@@ -16,7 +16,7 @@ name = "api"
|
|||||||
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }
|
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
sqlx = { version = "0.7.3", default-features = false, features = [
|
sqlx = { version = "0.8.3", default-features = false, features = [
|
||||||
"runtime-tokio-rustls",
|
"runtime-tokio-rustls",
|
||||||
"macros",
|
"macros",
|
||||||
"postgres",
|
"postgres",
|
||||||
@@ -24,17 +24,16 @@ sqlx = { version = "0.7.3", default-features = false, features = [
|
|||||||
"chrono",
|
"chrono",
|
||||||
"migrate",
|
"migrate",
|
||||||
] }
|
] }
|
||||||
chrono = { version = "0.4.22", features = ["serde"] }
|
chrono = { version = "0.4.40", features = ["serde"] }
|
||||||
secrecy = { version = "0.8", features = ["serde"] }
|
secrecy = { version = "0.8", features = ["serde"] }
|
||||||
config = { version = "0.13", default-features = false, features = ["yaml"] }
|
config = { version = "0.15.11", default-features = false, features = ["yaml"] }
|
||||||
serde-aux = "4.1.2"
|
serde-aux = "4.1.2"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
tracing = "0.1.19"
|
tracing = "0.1.19"
|
||||||
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
|
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
|
||||||
tracing-bunyan-formatter = "0.3"
|
tracing-bunyan-formatter = "0.3"
|
||||||
tracing-log = "0.1.1"
|
tracing-log = "0.1.1"
|
||||||
axum = { version = "0.7.4", features = ["tracing"] }
|
axum = { version = "0.8.1", features = ["tracing"] }
|
||||||
tower-http = { version = "0.5.1", features = ["trace", "cors"] }
|
tower-http = { version = "0.6.2", features = ["trace", "cors"] }
|
||||||
http = "1.0.0"
|
http = "1.3.1"
|
||||||
hyper = { version = "1.1.0", features = ["full"] }
|
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
use axum::{routing::get, Router};
|
use axum::{Router, routing::get};
|
||||||
use http::Method;
|
use http::{Method, StatusCode};
|
||||||
use hyper::StatusCode;
|
|
||||||
use sqlx::PgPool;
|
use sqlx::PgPool;
|
||||||
use tower_http::cors::{Any, CorsLayer};
|
use tower_http::cors::{Any, CorsLayer};
|
||||||
use tower_http::trace::TraceLayer;
|
use tower_http::trace::TraceLayer;
|
||||||
|
|||||||
Reference in New Issue
Block a user