Update backend dependencies
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2025-03-28 15:06:16 +01:00
parent 646bf2c0aa
commit c6e53d5790
3 changed files with 739 additions and 610 deletions

1294
geneit_backend/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -6,38 +6,38 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
log = "0.4.21"
env_logger = "0.11.5"
clap = { version = "4.5.17", features = ["derive", "env"] }
log = "0.4.27"
env_logger = "0.11.7"
clap = { version = "4.5.32", features = ["derive", "env"] }
lazy_static = "1.5.0"
lazy-regex = "3.3.0"
anyhow = "1.0.87"
actix-web = "4.9.0"
actix-web = "4.10.2"
actix-cors = "0.7.0"
actix-multipart = "0.7.0"
actix-remote-ip = "0.1.0"
futures-util = "0.3.30"
diesel = { version = "2.2.4", features = ["postgres"] }
diesel = { version = "2.2.8", features = ["postgres"] }
diesel_migrations = "2.1.0"
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
mailchecker = "6.0.8"
redis = "0.27.0"
lettre = "0.11.8"
rand = "0.8.5"
bcrypt = "0.16.0"
light-openid = "1.0.2"
thiserror = "1.0.60"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
mailchecker = "6.0.17"
redis = "0.29.2"
lettre = "0.11.15"
rand = "0.9.0"
bcrypt = "0.17.0"
light-openid = "1.0.4"
thiserror = "2.0.12"
serde_with = "3.8.1"
rust_iso3166 = "0.1.12"
rust-s3 = "0.35.1"
sha2 = "0.10.8"
image = "0.25.1"
uuid = { version = "1.8.0", features = ["v4"] }
image = "0.25.6"
uuid = { version = "1.16.0", features = ["v4"] }
httpdate = "1.0.3"
zip = "2.2.0"
mime_guess = "2.0.4"
tempfile = "3.12.0"
base64 = "0.22.0"
zip = "2.5.0"
mime_guess = "2.0.5"
tempfile = "3.19.1"
base64 = "0.22.1"
ical = { version = "0.11.0", features = ["generator", "ical", "vcard"] }
chrono = "0.4.38"
chrono = "0.4.40"

View File

@ -1,11 +1,6 @@
use rand::distributions::Alphanumeric;
use rand::Rng;
use rand::distr::{Alphanumeric, SampleString};
/// Generate a random string of a given size
/// Generate a random string of a given length
pub fn rand_str(len: usize) -> String {
rand::thread_rng()
.sample_iter(&Alphanumeric)
.map(char::from)
.take(len)
.collect()
}
Alphanumeric.sample_string(&mut rand::rng(), len)
}