Skip to content

Commit 2aed6f4

Browse files
committed
chore: development v0.3.10 - comprehensive testing complete [auto-commit]
1 parent 0ff4d93 commit 2aed6f4

File tree

20 files changed

+19
-25
lines changed

20 files changed

+19
-25
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ exclude = [
3636
# Workspace Package Metadata (inherited by all crates)
3737
# ─────────────────────────────────────────────────────────────────────────────
3838
[workspace.package]
39-
version = "0.3.9"
39+
version = "0.3.10"
4040
edition = "2024"
4141
rust-version = "1.85"
4242
license = "MPL-2.0 OR LicenseRef-UFFS-Commercial"

crates/uffs-mft/src/io.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
#![cfg(windows)]
1111

1212
use std::cell::RefCell;
13-
use std::mem::size_of;
1413

15-
use smallvec::SmallVec;
1614
use tracing::{debug, info, trace, warn};
1715
use windows::Win32::Foundation::HANDLE;
1816
use windows::Win32::Storage::FileSystem::{FILE_BEGIN, ReadFile, SetFilePointerEx};

crates/uffs-mft/src/io/chunking.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Chunk planning helpers for extent-aware MFT reads.
22
3-
use rayon::prelude::*;
4-
53
use super::*;
64

75
/// A read chunk representing a contiguous range of MFT records.

crates/uffs-mft/src/io/parser/index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ pub fn parse_record_to_index(data: &[u8], frs: u64, index: &mut crate::index::Mf
337337

338338
// Extract attribute name
339339
let name_len = attr_header.name_length as usize;
340-
let (is_i30, attr_name) = if name_len > 0 {
340+
let (is_i30, _attr_name) = if name_len > 0 {
341341
let name_offset = offset + attr_header.name_offset as usize;
342342
if name_offset + name_len * 2 <= data.len() {
343343
let name_bytes = &data[name_offset..name_offset + name_len * 2];

crates/uffs-mft/src/io/parser/index_extension.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ pub(super) fn parse_extension_to_index(
232232
) => {
233233
// Extract attribute name
234234
let name_len = attr_header.name_length as usize;
235-
let (is_i30, attr_name) = if name_len > 0 {
235+
let (is_i30, _attr_name) = if name_len > 0 {
236236
let name_offset = offset + attr_header.name_offset as usize;
237237
if name_offset + name_len * 2 <= data.len() {
238238
let name_bytes = &data[name_offset..name_offset + name_len * 2];
@@ -374,7 +374,7 @@ pub(super) fn parse_extension_to_index(
374374
}
375375
_ => {
376376
// Unknown attribute types - count as streams (C++ default: case)
377-
let type_code = attr_header.type_code;
377+
let _type_code = attr_header.type_code;
378378

379379
let is_primary = if attr_header.is_non_resident == 0 {
380380
true
@@ -618,7 +618,7 @@ pub(super) fn parse_extension_to_index(
618618
index
619619
.internal_streams
620620
.push(crate::index::InternalStreamInfo {
621-
size: crate::index::SizeInfo {
621+
size: SizeInfo {
622622
length: *ist_size,
623623
allocated: *ist_allocated,
624624
},

crates/uffs-mft/src/io/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub use index::parse_record_to_index;
1212

1313
pub use crate::parse::{
1414
ExtensionAttributes, ParseResult, ParsedColumns, ParsedRecord,
15-
add_missing_parent_placeholders_to_vec, apply_fixup, create_placeholder_record, parse_record,
15+
add_missing_parent_placeholders_to_vec, create_placeholder_record, parse_record,
1616
parse_record_full, parse_record_zero_alloc,
1717
};
1818

crates/uffs-mft/src/io/readers/parallel/to_index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ impl ParallelMftReader {
211211
let mut index = MftIndex::with_capacity_optimized(volume, estimated_records, max_frs);
212212

213213
// Create IOCP
214-
let read_start = std::time::Instant::now();
214+
let read_start = Instant::now();
215215
let iocp = IoCompletionPort::new(0)?;
216216
iocp.associate(overlapped_handle, 0)?;
217217

crates/uffs-mft/src/io/readers/parallel/to_index_parallel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ impl ParallelMftReader {
509509

510510
// Build index from merged records
511511
let parsed_records = merger.merge();
512-
let index = MftIndex::from_parsed_records(volume, parsed_records);
512+
let mut index = MftIndex::from_parsed_records(volume, parsed_records);
513513

514514
let merge_ms = merge_start.elapsed().as_millis();
515515
let total_ms = read_start.elapsed().as_millis();

crates/uffs-mft/src/reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! The heavy read pipelines and multi-drive orchestration live in dedicated
44
//! submodules under `reader/`.
55
6-
use crate::error::{MftError, Result};
6+
use crate::error::Result;
77
#[cfg(windows)]
88
use crate::platform::VolumeHandle;
99

crates/uffs-mft/src/reader/dataframe_read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use super::MftReadMode;
1212
#[cfg(windows)]
1313
use super::read_mode::dataframe_effective_mode;
1414
use super::{MftProgress, MftReader};
15-
use crate::error::{MftError, Result};
15+
use crate::error::Result;
1616

1717
impl MftReader {
1818
/// Read the entire MFT and return as a `DataFrame`.

0 commit comments

Comments
 (0)