@ -62,22 +62,24 @@ rocket = { version = "0.5.0-rc.2", features = ["tls", "json"], default-features
# WebSockets libraries
# WebSockets libraries
tokio-tungstenite = "0.18.0"
tokio-tungstenite = "0.18.0"
rmpv = "1.0.0" # MessagePack library
rmpv = "1.0.0" # MessagePack library
# Concurrent HashMap used for WebSocket messaging and favicons
dashmap = "5.4.0"
dashmap = "5.4.0"
# Async futures
# Async futures
futures = "0.3.2 5 "
futures = "0.3.2 6 "
tokio = { version = "1.2 4.2 ", features = [ "rt-multi-thread" , "fs" , "io-util" , "parking_lot" , "time" , "signal" ] }
tokio = { version = "1.2 5.0 ", 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.152" , features = [ "derive" ] }
serde = { version = "1.0.152" , features = [ "derive" ] }
serde_json = "1.0.9 1 "
serde_json = "1.0.9 3 "
# A safe, extensible ORM and Query builder
# A safe, extensible ORM and Query builder
diesel = { version = "2.0.3" , features = [ "chrono" , "r2d2" ] }
diesel = { version = "2.0.3" , features = [ "chrono" , "r2d2" ] }
diesel_migrations = "2.0.0"
diesel_migrations = "2.0.0"
diesel_logger = { version = "0.2.0" , optional = true }
diesel_logger = { version = "0.2.0" , optional = true }
# Bundled SQLite
# Bundled /Static SQLite
libsqlite3-sys = { version = "0.25.2" , features = [ "bundled" ] , optional = true }
libsqlite3-sys = { version = "0.25.2" , features = [ "bundled" ] , optional = true }
# Crypto-related libraries
# Crypto-related libraries
@ -85,7 +87,7 @@ rand = { version = "0.8.5", features = ["small_rng"] }
ring = "0.16.20"
ring = "0.16.20"
# UUID generation
# UUID generation
uuid = { version = "1. 2.2 ", features = [ "v4" ] }
uuid = { version = "1. 3.0 ", features = [ "v4" ] }
# Date and time libraries
# Date and time libraries
chrono = { version = "0.4.23" , features = [ "clock" , "serde" ] , default-features = false }
chrono = { version = "0.4.23" , features = [ "clock" , "serde" ] , default-features = false }
@ -93,7 +95,7 @@ chrono-tz = "0.8.1"
time = "0.3.17"
time = "0.3.17"
# Job scheduler
# Job scheduler
job_scheduler_ng = "2.0. 3 "
job_scheduler_ng = "2.0. 4 "
# Data encoding library Hex/Base32/Base64
# Data encoding library Hex/Base32/Base64
data-encoding = "2.3.3"
data-encoding = "2.3.3"
@ -110,32 +112,34 @@ yubico = { version = "0.11.0", features = ["online-tokio"], default-features = f
# WebAuthn libraries
# WebAuthn libraries
webauthn-rs = "0.3.2"
webauthn-rs = "0.3.2"
# Handling of URL's for WebAuthn
# Handling of URL's for WebAuthn and favicons
url = "2.3.1"
url = "2.3.1"
# Email libraries e-Base, Update crates and small change.
# Email libraries
lettre = { version = "0.10. 1 ", features = [ "smtp -transport", "builder" , "serde" , "tokio1-native-tls" , "hostname" , "tracing" , "tokio1" ] , default-features = false }
lettre = { version = "0.10. 2 ", 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.2.0" # URL encoding library used for URL's in the emails
email_address = "0.2.4"
email_address = "0.2.4"
# Template library
# HTML Template library
handlebars = { version = "4.3.6" , features = [ "dir_source" ] }
handlebars = { version = "4.3.6" , features = [ "dir_source" ] }
# HTTP client
# HTTP client (Used for favicons, version check, DUO and HIBP API)
reqwest = { version = "0.11.14" , features = [ "stream" , "json" , "gzip" , "brotli" , "socks" , "cookies" , "trust-dns" ] }
reqwest = { version = "0.11.14" , features = [ "stream" , "json" , "gzip" , "brotli" , "socks" , "cookies" , "trust-dns" ] }
# F or favicon extraction from main website
# F avicon extraction libraries
html5gum = "0.5.2"
html5gum = "0.5.2"
regex = { version = "1.7.1" , features = [ "std" , "perf" , "unicode-perl" ] , default-features = false }
regex = { version = "1.7.1" , features = [ "std" , "perf" , "unicode-perl" ] , default-features = false }
data-url = "0.2.0"
data-url = "0.2.0"
bytes = "1.3.0"
bytes = "1.4.0"
# Cache function results (Used for version check and favicon fetching)
cached = "0.42.0"
cached = "0.42.0"
# Used for custom short lived cookie jar during favicon extraction
# Used for custom short lived cookie jar during favicon extraction
cookie = "0.16.2"
cookie = "0.16.2"
cookie_store = "0.19.0"
cookie_store = "0.19.0"
# Used by U2F, JWT and Postgre s
# Used by U2F, JWT and Postgre SQL
openssl = "0.10.45"
openssl = "0.10.45"
# CLI argument parsing
# CLI argument parsing
@ -151,6 +155,7 @@ semver = "1.0.16"
# Allow overriding the default memory allocator
# Allow overriding the default memory allocator
# Mainly used for the musl builds, since the default musl malloc is very slow
# Mainly used for the musl builds, since the default musl malloc is very slow
mimalloc = { version = "0.1.34" , features = [ "secure" ] , default-features = false , optional = true }
mimalloc = { version = "0.1.34" , features = [ "secure" ] , default-features = false , optional = true }
which = "4.4.0"
# Strip debuginfo from the release builds
# Strip debuginfo from the release builds
# Also enable thin LTO for some optimizations
# Also enable thin LTO for some optimizations