Describe the bug
When using ZipWriter::new_stream, any attempt of including a 4gb+ file will cause a Large file option has not been set, even if the option is set on each zip options object using .large_file(true)
To Reproduce
Steps to reproduce the behavior:
- Create a zip writer using
new_stream
- Create a zip options object and set
.large_file(true)
- Use
std::io::copy to read a local file over 4gb
- See error
Expected behavior
The file should write without problems as ZIP64
Screenshots

Library version: 4.3.0
Rust version: 1.89.0
OS: Ubuntu 24.04
Describe the bug
When using
ZipWriter::new_stream, any attempt of including a 4gb+ file will cause a Large file option has not been set, even if the option is set on each zip options object using.large_file(true)To Reproduce
Steps to reproduce the behavior:
new_stream.large_file(true)std::io::copyto read a local file over 4gbExpected behavior
The file should write without problems as ZIP64
Screenshots

Library version: 4.3.0
Rust version: 1.89.0
OS: Ubuntu 24.04