Skip to content

Commit

Permalink
Update dependencies to latest versions including axum, sqlx, and utoipa
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcdonough committed Feb 16, 2025
1 parent 0d1a724 commit 4595dc6
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 30 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ clap = { version = "4.5.20", features = ["cargo", "derive", "env"] }
log = "0.4.25"
simplelog = { version = "0.12.2", features = ["paris"] }
tokio = "1.41.0"
libsqlite3-sys = "0.30.0" # or "0.31.0"

[[bin]]
name = "seed_db"
Expand Down
12 changes: 6 additions & 6 deletions entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ name = "entity"
path = "src/lib.rs"

[dependencies]
axum-login = "0.16.0"
axum-login = "0.17.0"
chrono = { version = "0.4.38", features = ["serde"] }
serde = { version = "1.0.210", features = ["derive"] }
sqlx = { version = "0.8.2", features = ["time", "runtime-tokio"] }
sqlx-sqlite = { version = "0.8.2" }
utoipa = { version = "4.2.0", features = ["axum_extras", "uuid"] }

sqlx = { version = "0.8.3", features = ["time", "runtime-tokio"] }
sqlx-sqlite = { version = "0.8.3" } # Updated version
utoipa = { version = "5.3.1", features = ["axum_extras", "uuid"] }
libsqlite3-sys = "0.31.0"
uuid = { version = "1.11.0", features = ["v4", "serde"] }

[dependencies.sea-orm]
version = "1.1.0"
features = [ "with-uuid" ]
features = ["with-uuid"]
8 changes: 4 additions & 4 deletions entity_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ serde_json = "1.0.128"
serde = { version = "1.0.210", features = ["derive"] }

log = "0.4.22"
axum-login = "0.16.0"
axum-login = "0.17.0"
async-trait = "0.1.83"
password-auth = "1.0.0"
sqlx = { version = "0.8.2", features = ["time", "runtime-tokio"] }
sqlx-sqlite = { version = "0.8.2" }
utoipa = { version = "4.2.0", features = ["axum_extras", "uuid"] }
sqlx = { version = "0.8.3", features = ["time", "runtime-tokio"] }
sqlx-sqlite = { version = "0.8.3" }
utoipa = { version = "5.3.1", features = ["axum_extras", "uuid"] }

[dependencies.sea-orm]
version = "1.1.0" # sea-orm version
Expand Down
9 changes: 3 additions & 6 deletions migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@ path = "src/lib.rs"

[dependencies]
async-std = { version = "1.13", features = ["attributes", "tokio1"] }
sqlx = { version = "0.8.2", features = ["time", "runtime-tokio"] }
sqlx-sqlite = { version = "0.8.2" }
sqlx = { version = "0.8.3", features = ["time", "runtime-tokio"] }
sqlx-sqlite = { version = "0.8.3" } # Updated version

[dependencies.sea-orm-migration]
version = "1.1.0"
features = [
"runtime-tokio-rustls",
"sqlx-postgres",
]
features = ["runtime-tokio-rustls", "sqlx-postgres"]
12 changes: 7 additions & 5 deletions service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ features = [
"debug-print",
"runtime-tokio-native-tls",
"sqlx-postgres",
"with-uuid"
"with-uuid",
]

[dependencies]
Expand All @@ -21,9 +21,11 @@ log = "0.4.22"
simplelog = { version = "0.12.2", features = ["paris"] }
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
sqlx = { version = "0.8.2", features = ["time", "runtime-tokio"] }
sqlx-sqlite = { version = "0.8.2" }
sqlx = { version = "0.8.3", features = ["time", "runtime-tokio"] }
sqlx-sqlite = { version = "0.8.3" } # Updated version
tokio = { version = "1.40", features = ["full"] }
tower = "0.5.1"
utoipa = { version = "4.2.0", features = ["axum_extras", "uuid"] }
tower = { version = "0.5.1", features = [
"tower-http",
] } # Added feature for tower
utoipa = { version = "5.3.1", features = ["axum_extras", "uuid"] }
semver = { version = "1.0.23", features = ["serde"] }
20 changes: 11 additions & 9 deletions web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,23 @@ entity = { path = "../entity" }
entity_api = { path = "../entity_api" }
service = { path = "../service" }

axum = "0.7.7"
axum-login = "0.16.0"
axum = "0.8.1"
axum-login = "0.17.0"
log = "0.4.22"
tower-http = { version = "0.6.1", features = ["fs", "cors"] }
serde_json = "1.0.128"
serde = { version = "1.0.210", features = ["derive"] }
sqlx = { version = "0.8.2", features = ["time", "runtime-tokio"] }
sqlx-sqlite = { version = "0.8.2" }
tokio = { version = "1.40.0", features = ["full"] }
sqlx = { version = "0.8.3", features = ["time", "runtime-tokio"] }
sqlx-sqlite = { version = "0.8.3" } # Updated version
tokio = { version = "1.40", features = [
"full",
] } # Remove the ".0" for consistency
tower = "0.5.1"
tower-sessions = { version = "0.13.0" }
tower-sessions-sqlx-store = { version = "0.14.1", features = ["postgres"] }
tower-sessions = { version = "0.14.0" }
tower-sessions-sqlx-store = { version = "0.15.0", features = ["postgres"] }
time = "0.3.36"
utoipa = { version = "4.2.0", features = ["axum_extras", "uuid"] }
utoipa-rapidoc = { version = "3.0.0", features = ["axum"] }
utoipa = { version = "5.3.1", features = ["axum_extras", "uuid"] }
utoipa-rapidoc = { version = "6.0.0", features = ["axum"] }

[dependencies.sea-orm]
version = "1.1.0" # sea-orm version
Expand Down

0 comments on commit 4595dc6

Please sign in to comment.