build(deps): upgrade zip 3 → 9

Bump the zip crate from 3 to 9 in the workspace Cargo.toml and
adapt to the API change in 2.0+: last_modified_time now takes
Option<DateTime> instead of DateTime directly.

- crates/io/src/lib.rs: wrap DateTime::default() in Some(...)
- crates/geometry/src/tagged_mesh.rs: same fix in the 3MF writer

Closes #134
This commit is contained in:
Skywalkingzulu1 authored and Irakli Kourtis committed 2026-10-15 15:08:13 -04:00
1 parent a6f1a6dbeb
commit 8e28283dad
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -446,7 +446,7 @@ mod tests {
for (name, data) in [("[Content_Types].xml", types), ("_rels/.rels", rels), ("3D/3dmodel.model", x.as_str())] {
let o = zip::write::SimpleFileOptions::default()
.compression_method(zip::CompressionMethod::Deflated)
.last_modified_time(zip::DateTime::default());
.last_modified_time(Some(zip::DateTime::default()));
zip.start_file(name, o).unwrap();
zip.write_all(data.as_bytes()).unwrap();
}