From e33b8fab34aa5fa9b6f3f3ca5c97f01c0a091847 Mon Sep 17 00:00:00 2001 From: BlackDex Date: Sat, 4 Jun 2022 15:13:10 +0200 Subject: [PATCH] Re-Base, Update crates and small change. --- Cargo.toml | 16 ++++++++-------- src/main.rs | 2 -- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9b74f3c7..99fba2d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ backtrace = "0.3.65" # Logging panics to logfile instead stderr only dotenvy = { version = "0.15.1", default-features = false } # Lazy initialization -once_cell = "1.11.0" +once_cell = "1.12.0" # Numerical libraries num-traits = "0.2.15" @@ -57,11 +57,11 @@ rocket = { version = "0.5.0-rc.2", features = ["tls", "json"], default-features # WebSockets libraries tokio-tungstenite = "0.17.1" rmpv = "1.0.0" # MessagePack library -dashmap = "5.3.3" # Concurrent hashmap implementation +dashmap = "5.3.4" # Concurrent hashmap implementation # Async futures futures = "0.3.21" -tokio = { version = "1.18.2", features = ["rt-multi-thread", "fs", "io-util", "parking_lot", "time"] } +tokio = { version = "1.19.0", features = ["rt-multi-thread", "fs", "io-util", "parking_lot", "time"] } # A generic serialization/deserialization framework serde = { version = "1.0.137", features = ["derive"] } @@ -75,11 +75,11 @@ diesel_migrations = "1.4.0" libsqlite3-sys = { version = "0.22.2", features = ["bundled"], optional = true } # Crypto-related libraries -rand = "0.8.5" +rand = { version = "0.8.5", features = ["small_rng"] } ring = "0.16.20" # UUID generation -uuid = { version = "1.0.0", features = ["v4"] } +uuid = { version = "1.1.1", features = ["v4"] } # Date and time libraries chrono = { version = "0.4.19", features = ["clock", "serde"], default-features = false } @@ -87,7 +87,7 @@ chrono-tz = "0.6.1" time = "0.3.9" # Job scheduler -job_scheduler_ng = "2.0.0" +job_scheduler_ng = "2.0.1" # Data encoding library Hex/Base32/Base64 data-encoding = "2.3.2" @@ -107,7 +107,7 @@ webauthn-rs = "0.3.2" # Handling of URL's for WebAuthn url = "2.2.2" -# Email libraries +# Email librariese-Base, Update crates and small change. lettre = { version = "0.10.0-rc.7", features = ["smtp-transport", "builder", "serde", "native-tls", "hostname", "tracing"], default-features = false } percent-encoding = "2.1.0" # URL encoding library used for URL's in the emails @@ -126,7 +126,7 @@ cached = "0.34.0" # Used for custom short lived cookie jar during favicon extraction cookie = "0.16.0" -cookie_store = "0.16.0" +cookie_store = "0.16.1" # Used by U2F, JWT and Postgres openssl = "0.10.40" diff --git a/src/main.rs b/src/main.rs index 502d74ec..1daa5771 100644 --- a/src/main.rs +++ b/src/main.rs @@ -152,8 +152,6 @@ fn init_logging(level: log::LevelFilter) -> Result<(), fern::InitError> { .level_for("rocket::server", log::LevelFilter::Warn) .level_for("rocket::fairing::fairings", log::LevelFilter::Warn) .level_for("rocket::shield::shield", log::LevelFilter::Warn) - // Never show html5ever and hyper::proto logs, too noisy - .level_for("html5ever", log::LevelFilter::Off) .level_for("hyper::proto", log::LevelFilter::Off) .level_for("hyper::client", log::LevelFilter::Off) // Prevent cookie_store logs