Skip to content

v0.3.1

Pre-release
Pre-release

Choose a tag to compare

@v1lleneuve v1lleneuve released this 07 Jun 07:02
· 15 commits to main since this release

Stabilization & Signal Integrity

The v0.3.1 maintenance release focuses on operational robustness and graceful termination. It introduces a comprehensive signal handling system to ensure the utility remains in a consistent state even when interrupted by the user or the operating system.

Important

Graceful Interruption
This version introduces active signal monitoring. Pressing Ctrl+C now triggers a coordinated cleanup sequence across all worker threads, preventing terminal hang-ups and ensuring a clean exit from deep recursive operations.

Key Enhancements

  • Coordinated Cancellation: Implemented a thread-safe cancellation mechanism using atomic primitives. All cryptographic overwrite loops and verification passes are now "interruption-aware" and respond immediately to termination signals.
  • Graceful Signal Handling: Integrated the ctrlc crate to capture SIGINT/SIGTERM. The tool now provides clear feedback when an interruption is received and shuts down the parallel execution engine safely.
  • Engine Hardening: Refined the recursive traversal logic to be resilient against interrupted I/O states, ensuring that no file handles or system resources are leaked during an abrupt shutdown.

Technical Implementation

  • Atomic Control Flow: Utilized Arc<AtomicBool> to propagate cancellation signals across the Rayon thread pool without compromising performance.
  • Loop Sanitization: Added high-frequency cancellation checks inside the core I/O loops (writing and verification) for near-instant response times.
  • Library Documentation: Expanded module-level documentation to satisfy strict #![deny(missing_docs)] requirements and improve architectural clarity.