Merge pull request #3649 from BlackDex/update-crates

Update crates and small clippy fix
This commit is contained in:
Daniel García 2023-07-04 20:56:05 +02:00 committed by GitHub
commit a6cfdddfd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 245 additions and 225 deletions

452
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -52,7 +52,7 @@ once_cell = "1.18.0"
# Numerical libraries # Numerical libraries
num-traits = "0.2.15" num-traits = "0.2.15"
num-derive = "0.3.3" num-derive = "0.4.0"
# Web framework # Web framework
rocket = { version = "0.5.0-rc.3", features = ["tls", "json"], default-features = false } rocket = { version = "0.5.0-rc.3", features = ["tls", "json"], default-features = false }
@ -68,11 +68,11 @@ dashmap = "5.4.0"
# Async futures # Async futures
futures = "0.3.28" 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 # A generic serialization/deserialization framework
serde = { version = "1.0.164", features = ["derive"] } serde = { version = "1.0.166", features = ["derive"] }
serde_json = "1.0.97" serde_json = "1.0.99"
# A safe, extensible ORM and Query builder # A safe, extensible ORM and Query builder
diesel = { version = "2.1.0", features = ["chrono", "r2d2"] } diesel = { version = "2.1.0", features = ["chrono", "r2d2"] }
@ -87,11 +87,11 @@ rand = { version = "0.8.5", features = ["small_rng"] }
ring = "0.16.20" ring = "0.16.20"
# UUID generation # UUID generation
uuid = { version = "1.3.4", features = ["v4"] } uuid = { version = "1.4.0", features = ["v4"] }
# Date and time libraries # Date and time libraries
chrono = { version = "0.4.26", features = ["clock", "serde"], default-features = false } 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" time = "0.3.22"
# Job scheduler # Job scheduler
@ -117,7 +117,7 @@ url = "2.4.0"
# Email libraries # Email libraries
lettre = { version = "0.10.4", features = ["smtp-transport", "sendmail-transport", "builder", "serde", "tokio1-native-tls", "hostname", "tracing", "tokio1"], default-features = false } 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" email_address = "0.2.4"
# HTML Template library # HTML Template library
@ -146,7 +146,7 @@ openssl = "0.10.55"
pico-args = "0.5.0" pico-args = "0.5.0"
# Macro ident concatenation # Macro ident concatenation
paste = "1.0.12" paste = "1.0.13"
governor = "0.5.1" governor = "0.5.1"
# Check client versions for specific features. # Check client versions for specific features.

View file

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