Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tech] Cargo updates #952

Merged
merged 2 commits into from
Jul 4, 2024
Merged

[tech] Cargo updates #952

merged 2 commits into from
Jul 4, 2024

Conversation

ArnaudOggy
Copy link
Contributor

updates
chrono-tz 0.8 → 0.9
geo 0.27 → 0.28
zip 0.6 → 2

src/utils.rs Outdated
@@ -32,7 +32,7 @@ where
let source_path = source_path.as_ref();
let file = fs::File::create(zip_file.as_ref())?;
let mut zip = zip::ZipWriter::new(file);
let options =
let options: zip::write::FileOptions<zip::write::ExtendedFileOptions> =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

essayes avec

Suggested change
let options: zip::write::FileOptions<zip::write::ExtendedFileOptions> =
let options =
zip::write::SimpleFileOptions::default().compression_method(zip::CompressionMethod::Deflated);

tu n'es pas obligé de clone après

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 5bac502
There are already tests on zip compression. Results are ok.

@ArnaudOggy ArnaudOggy requested review from datanel and patochectp July 4, 2024 09:39
@ArnaudOggy ArnaudOggy merged commit 28cbf82 into master Jul 4, 2024
13 checks passed
@ArnaudOggy ArnaudOggy deleted the cargo_updates branch July 4, 2024 12:44
@ArnaudOggy ArnaudOggy changed the title Cargo updates [tech] Cargo updates Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants