@ -3,7 +3,7 @@ name = "vaultwarden"
version = "1.0.0"
version = "1.0.0"
authors = [ "Daniel García <dani-garcia@users.noreply.github.com>" ]
authors = [ "Daniel García <dani-garcia@users.noreply.github.com>" ]
edition = "2021"
edition = "2021"
rust-version = "1.7 6 .0"
rust-version = "1.7 8 .0"
resolver = "2"
resolver = "2"
repository = "https://github.com/dani-garcia/vaultwarden"
repository = "https://github.com/dani-garcia/vaultwarden"
@ -53,7 +53,7 @@ once_cell = "1.19.0"
# Numerical libraries
# Numerical libraries
num-traits = "0.2.19"
num-traits = "0.2.19"
num-derive = "0.4.2"
num-derive = "0.4.2"
bigdecimal = "0.4. 3 "
bigdecimal = "0.4. 5 "
# Web framework
# Web framework
rocket = { version = "0.5.1" , features = [ "tls" , "json" ] , default-features = false }
rocket = { version = "0.5.1" , features = [ "tls" , "json" ] , default-features = false }
@ -63,19 +63,19 @@ rocket_ws = { version ="0.1.1" }
rmpv = "1.3.0" # MessagePack library
rmpv = "1.3.0" # MessagePack library
# Concurrent HashMap used for WebSocket messaging and favicons
# Concurrent HashMap used for WebSocket messaging and favicons
dashmap = " 5.5.3 "
dashmap = " 6.0.0 "
# Async futures
# Async futures
futures = "0.3.30"
futures = "0.3.30"
tokio = { version = "1.3 7 .0", features = [ "rt-multi-thread" , "fs" , "io-util" , "parking_lot" , "time" , "signal" , "net" ] }
tokio = { version = "1.3 8 .0", features = [ "rt-multi-thread" , "fs" , "io-util" , "parking_lot" , "time" , "signal" , "net" ] }
# A generic serialization/deserialization framework
# A generic serialization/deserialization framework
serde = { version = "1.0.20 2 ", features = [ "derive" ] }
serde = { version = "1.0.20 3 ", features = [ "derive" ] }
serde_json = "1.0.117"
serde_json = "1.0.117"
# A safe, extensible ORM and Query builder
# A safe, extensible ORM and Query builder
diesel = { version = "2. 1.6 ", features = [ "chrono" , "r2d2" , "numeric" ] }
diesel = { version = "2. 2.1 ", features = [ "chrono" , "r2d2" , "numeric" ] }
diesel_migrations = "2. 1 .0"
diesel_migrations = "2. 2 .0"
diesel_logger = { version = "0.3.0" , optional = true }
diesel_logger = { version = "0.3.0" , optional = true }
# Bundled/Static SQLite
# Bundled/Static SQLite
@ -112,7 +112,7 @@ yubico = { version = "0.11.0", features = ["online-tokio"], default-features = f
webauthn-rs = "0.3.2"
webauthn-rs = "0.3.2"
# Handling of URL's for WebAuthn and favicons
# Handling of URL's for WebAuthn and favicons
url = "2.5. 0 "
url = "2.5. 2 "
# Email libraries
# Email libraries
lettre = { version = "0.11.7" , features = [ "smtp-transport" , "sendmail-transport" , "builder" , "serde" , "tokio1-native-tls" , "hostname" , "tracing" , "tokio1" ] , default-features = false }
lettre = { version = "0.11.7" , features = [ "smtp-transport" , "sendmail-transport" , "builder" , "serde" , "tokio1-native-tls" , "hostname" , "tracing" , "tokio1" ] , default-features = false }
@ -123,17 +123,17 @@ email_address = "0.2.4"
handlebars = { version = "5.1.2" , features = [ "dir_source" ] }
handlebars = { version = "5.1.2" , features = [ "dir_source" ] }
# HTTP client (Used for favicons, version check, DUO and HIBP API)
# HTTP client (Used for favicons, version check, DUO and HIBP API)
reqwest = { version = "0.12. 4 ", features = [ "native-tls-alpn" , "stream" , "json" , "gzip" , "brotli" , "socks" , "cookies" ] }
reqwest = { version = "0.12. 5 ", features = [ "native-tls-alpn" , "stream" , "json" , "gzip" , "brotli" , "socks" , "cookies" ] }
hickory-resolver = "0.24.1"
hickory-resolver = "0.24.1"
# Favicon extraction libraries
# Favicon extraction libraries
html5gum = "0.5.7"
html5gum = "0.5.7"
regex = { version = "1.10. 4 ", features = [ "std" , "perf" , "unicode-perl" ] , default-features = false }
regex = { version = "1.10. 5 ", features = [ "std" , "perf" , "unicode-perl" ] , default-features = false }
data-url = "0.3.1"
data-url = "0.3.1"
bytes = "1.6.0"
bytes = "1.6.0"
# Cache function results (Used for version check and favicon fetching)
# Cache function results (Used for version check and favicon fetching)
cached = { version = "0.51. 3 ", features = [ "async" ] }
cached = { version = "0.51. 4 ", features = [ "async" ] }
# Used for custom short lived cookie jar during favicon extraction
# Used for custom short lived cookie jar during favicon extraction
cookie = "0.18.1"
cookie = "0.18.1"
@ -163,6 +163,9 @@ argon2 = "0.5.3"
# Reading a password from the cli for generating the Argon2id ADMIN_TOKEN
# Reading a password from the cli for generating the Argon2id ADMIN_TOKEN
rpassword = "7.3.1"
rpassword = "7.3.1"
# Patch mimalloc for now until a new version is released
[ patch . crates-io ]
mimalloc = { git = "https://github.com/purpleprotocol/mimalloc_rust.git" , rev = "992c9da4c5afba7fbf4c5815c43c8f0fbd2a8da6" }
# Strip debuginfo from the release builds
# Strip debuginfo from the release builds
# The symbols are the provide better panic traces
# The symbols are the provide better panic traces