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

This commit is contained in:
Pierre HUBERT 2024-05-14 19:34:35 +02:00
parent 47c9fad545
commit 45ff766752
4 changed files with 340 additions and 244 deletions

View File

@ -19,7 +19,7 @@ docker-compose up
3. Install Diesel CLI:
```bash
sudo apt install libpq5 libpq-dev pkg-config libssl-dev
sudo apt install libpq5 libpq-dev pkg-config libssl-dev cmake
cargo install diesel_cli --no-default-features --features postgres
```

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@ log = "0.4.21"
env_logger = "0.11.3"
clap = { version = "4.5.4", features = ["derive", "env"] }
lazy_static = "1.4.0"
anyhow = "1.0.82"
anyhow = "1.0.83"
actix-web = "4.5.1"
actix-cors = "0.7.0"
actix-multipart = "0.6.1"
@ -18,22 +18,22 @@ actix-remote-ip = "0.1.0"
futures-util = "0.3.30"
diesel = { version = "2.1.6", features = ["postgres"] }
serde = { version = "1.0.198", features = ["derive"] }
serde_json = "1.0.116"
serde_json = "1.0.117"
mailchecker = "6.0.4"
redis = "0.25.3"
lettre = "0.11.7"
rand = "0.8.5"
bcrypt = "0.15.1"
light-openid = "1.0.2"
thiserror = "1.0.58"
serde_with = "3.7.0"
thiserror = "1.0.60"
serde_with = "3.8.1"
rust_iso3166 = "0.1.12"
rust-s3 = "0.33.0"
sha2 = "0.10.8"
image = "0.25.1"
uuid = { version = "1.8.0", features = ["v4"] }
httpdate = "1.0.3"
zip = "0.6.6"
zip = "1.2.3"
mime_guess = "2.0.4"
tempfile = "3.10.1"
base64 = "0.22.0"

View File

@ -14,7 +14,7 @@ use mime_guess::Mime;
use std::collections::HashMap;
use std::io;
use std::io::{Cursor, Read, Write};
use zip::write::FileOptions;
use zip::write::SimpleFileOptions;
use zip::{CompressionMethod, ZipArchive};
const MEMBERS_FILE: &str = "members.json";
@ -38,7 +38,7 @@ struct ImportCoupleRequest {
/// Export whole family data
pub async fn export_family(f: FamilyInPath) -> HttpResult {
let files_opt = FileOptions::default().compression_method(CompressionMethod::Bzip2);
let files_opt = SimpleFileOptions::default().compression_method(CompressionMethod::Bzip2);
let members = members_service::get_all_of_family(f.family_id()).await?;
let couples = couples_service::get_all_of_family(f.family_id()).await?;