Browse Source

Merge pull request #3649 from BlackDex/update-crates

Update crates and small clippy fix
Daniel García 2 years ago
parent
commit
a6cfdddfd8
3 changed files with 234 additions and 157 deletions
  1. 225 148
      Cargo.lock
  2. 8 8
      Cargo.toml
  3. 1 1
      src/api/notifications.rs

File diff suppressed because it is too large
+ 225 - 148
Cargo.lock


+ 8 - 8
Cargo.toml

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

+ 1 - 1
src/api/notifications.rs

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

Some files were not shown because too many files changed in this diff