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

Move read sync code into sync submodule #134

Merged
merged 13 commits into from
May 18, 2024
2 changes: 1 addition & 1 deletion examples/stdin_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn real_main() -> i32 {
let mut buf = [0u8; 16];

loop {
match zip::read::read_zipfile_from_stream(&mut stdin_handle) {
match zip::read::sync::read_zipfile_from_stream(&mut stdin_handle) {
Ok(Some(mut file)) => {
println!(
"{}: {} bytes ({} bytes packed)",
Expand Down
2 changes: 1 addition & 1 deletion fuzz/fuzz_targets/fuzz_read.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![no_main]
use libfuzzer_sys::fuzz_target;
use std::io::{Read, Seek, SeekFrom};
use zip::read::read_zipfile_from_stream;
use zip::read::sync::read_zipfile_from_stream;

const MAX_BYTES_TO_READ: u64 = 1 << 24;

Expand Down
Loading
Loading