forked from 1b-agent/fieldcraft-upstream
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:
1 parent
a6f1a6dbeb
commit
8e28283dad
3 files changed
+4
-4
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user