Update backend dependencies
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Pierre HUBERT 2024-09-09 21:51:12 +02:00
parent 047ec9feca
commit d9ae92dbc2
3 changed files with 858 additions and 533 deletions

1356
geneit_backend/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -7,37 +7,37 @@ edition = "2021"
[dependencies] [dependencies]
log = "0.4.21" log = "0.4.21"
env_logger = "0.11.3" env_logger = "0.11.5"
clap = { version = "4.5.4", features = ["derive", "env"] } clap = { version = "4.5.17", features = ["derive", "env"] }
lazy_static = "1.4.0" lazy_static = "1.5.0"
lazy-regex = "3.1.0" lazy-regex = "3.3.0"
anyhow = "1.0.83" anyhow = "1.0.87"
actix-web = "4.5.1" actix-web = "4.9.0"
actix-cors = "0.7.0" actix-cors = "0.7.0"
actix-multipart = "0.7.0" actix-multipart = "0.7.0"
actix-remote-ip = "0.1.0" actix-remote-ip = "0.1.0"
futures-util = "0.3.30" futures-util = "0.3.30"
diesel = { version = "2.1.6", features = ["postgres"] } diesel = { version = "2.2.4", features = ["postgres"] }
diesel_migrations = "2.1.0" diesel_migrations = "2.1.0"
serde = { version = "1.0.198", features = ["derive"] } serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.117" serde_json = "1.0.128"
mailchecker = "6.0.4" mailchecker = "6.0.8"
redis = "0.25.3" redis = "0.26.1"
lettre = "0.11.7" lettre = "0.11.8"
rand = "0.8.5" rand = "0.8.5"
bcrypt = "0.15.1" bcrypt = "0.15.1"
light-openid = "1.0.2" light-openid = "1.0.2"
thiserror = "1.0.60" thiserror = "1.0.60"
serde_with = "3.8.1" serde_with = "3.8.1"
rust_iso3166 = "0.1.12" rust_iso3166 = "0.1.12"
rust-s3 = "0.34.0" rust-s3 = "0.35.1"
sha2 = "0.10.8" sha2 = "0.10.8"
image = "0.25.1" image = "0.25.1"
uuid = { version = "1.8.0", features = ["v4"] } uuid = { version = "1.8.0", features = ["v4"] }
httpdate = "1.0.3" httpdate = "1.0.3"
zip = "2.0.0" zip = "2.2.0"
mime_guess = "2.0.4" mime_guess = "2.0.4"
tempfile = "3.10.1" tempfile = "3.12.0"
base64 = "0.22.0" base64 = "0.22.0"
ical = { version = "0.11.0", features = ["generator", "ical", "vcard"] } ical = { version = "0.11.0", features = ["generator", "ical", "vcard"] }
chrono = "0.4.38" chrono = "0.4.38"

View File

@ -194,6 +194,7 @@ impl AppConfig {
db: self.redis_db_number, db: self.redis_db_number,
username: self.redis_username.clone(), username: self.redis_username.clone(),
password: Some(self.redis_password.clone()), password: Some(self.redis_password.clone()),
protocol: Default::default(),
}, },
} }
} }
@ -245,7 +246,7 @@ impl AppConfig {
} }
/// Get S3 bucket /// Get S3 bucket
pub fn s3_bucket(&self) -> anyhow::Result<Bucket> { pub fn s3_bucket(&self) -> anyhow::Result<Box<Bucket>> {
Ok(Bucket::new( Ok(Bucket::new(
&self.s3_bucket_name, &self.s3_bucket_name,
Region::Custom { Region::Custom {