Fix missing std::io::Read import for Windows build in ec_encoder

The #[cfg(not(unix))] fallback path uses f.read() which requires
the Read trait to be in scope.
This commit is contained in:
Chris Lu
2026-04-01 23:16:11 -07:00
parent e29b685c20
commit 08f48e62c9

View File

@@ -6,7 +6,7 @@
use std::fs::File;
use std::io;
#[cfg(not(unix))]
use std::io::{Seek, SeekFrom};
use std::io::{Read, Seek, SeekFrom};
use reed_solomon_erasure::galois_8::ReedSolomon;