26 releases (14 breaking)

new 0.24.1 Feb 17, 2025
0.23.0 Dec 4, 2024
0.22.2 Oct 10, 2024
0.22.0 Jul 3, 2024
0.10.2 Mar 24, 2022

#238 in Testing

Download history 1/week @ 2024-10-30 2/week @ 2024-11-06 135/week @ 2024-12-04 10/week @ 2024-12-11 120/week @ 2025-01-01 24/week @ 2025-01-08 694/week @ 2025-02-12

694 downloads per month

MIT license

465KB
9K SLoC

minidump-synth

crates.io

Provides a simple interface for mocking minidumps for unit tests.

This is basically an internal dev-dependency of rust-minidump that we're publishing only so that cargo publish doesn't complain about it. I guess you could use it but we don't recommend it?


lib.rs:

Synthetic Minidumps for Testing

This is a hacky mess that intentionally doesn't use minidump-common's layouts so that we can catch incorrect changes to minidump-common itself. It exists primarily as an internal dev-dependency of rust-minidump, but is published for the sake of satisfying cargo-publish.

Basic usage is to [SynthMinidump][], use its methods to build up the binary, and then finish() to write the binary to a buffer. Then you can either write that to disk as an actual minidump file or feed it directly to the minidump or minidump-processor crate.

Dependencies

~0.8–1.4MB
~29K SLoC