Update crates and small clippy fix

- Update all crates
- Remove async which is reported by clippy in v1.72.0
pull/3649/head
BlackDex 1 year ago
parent 19e671ff25
commit 0a6b797e6e
No known key found for this signature in database
GPG Key ID: 58C80A2AA6C765E1

450
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -52,7 +52,7 @@ once_cell = "1.18.0"
# Numerical libraries
num-traits = "0.2.15"
num-derive = "0.3.3"
num-derive = "0.4.0"
# Web framework
rocket = { version = "0.5.0-rc.3", features = ["tls", "json"], default-features = false }
@ -68,11 +68,11 @@ dashmap = "5.4.0"
# Async futures
futures = "0.3.28"
tokio = { version = "1.28.2", features = ["rt-multi-thread", "fs", "io-util", "parking_lot", "time", "signal"] }
tokio = { version = "1.29.1", features = ["rt-multi-thread", "fs", "io-util", "parking_lot", "time", "signal"] }
# A generic serialization/deserialization framework
serde = { version = "1.0.164", features = ["derive"] }
serde_json = "1.0.97"
serde = { version = "1.0.166", features = ["derive"] }
serde_json = "1.0.99"
# A safe, extensible ORM and Query builder
diesel = { version = "2.1.0", features = ["chrono", "r2d2"] }
@ -87,11 +87,11 @@ rand = { version = "0.8.5", features = ["small_rng"] }
ring = "0.16.20"
# UUID generation
uuid = { version = "1.3.4", features = ["v4"] }
uuid = { version = "1.4.0", features = ["v4"] }
# Date and time libraries
chrono = { version = "0.4.26", features = ["clock", "serde"], default-features = false }
chrono-tz = "0.8.2"
chrono-tz = "0.8.3"
time = "0.3.22"
# Job scheduler
@ -117,7 +117,7 @@ url = "2.4.0"
# Email libraries
lettre = { version = "0.10.4", features = ["smtp-transport", "sendmail-transport", "builder", "serde", "tokio1-native-tls", "hostname", "tracing", "tokio1"], default-features = false }
percent-encoding = "2.2.0" # URL encoding library used for URL's in the emails
percent-encoding = "2.3.0" # URL encoding library used for URL's in the emails
email_address = "0.2.4"
# HTML Template library
@ -146,7 +146,7 @@ openssl = "0.10.55"
pico-args = "0.5.0"
# Macro ident concatenation
paste = "1.0.12"
paste = "1.0.13"
governor = "0.5.1"
# Check client versions for specific features.

@ -75,7 +75,7 @@ impl Drop for WSEntryMapGuard {
}
#[get("/hub?<data..>")]
async fn websockets_hub<'r>(
fn websockets_hub<'r>(
ws: rocket_ws::WebSocket,
data: WsAccessToken,
ip: ClientIp,

Loading…
Cancel
Save