26 releases (14 breaking)

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

#240 in Testing

Download history 1/week @ 2024-10-31 2/week @ 2024-11-07 74/week @ 2024-11-28 62/week @ 2024-12-05 9/week @ 2024-12-12 127/week @ 2025-01-02 17/week @ 2025-01-09 694/week @ 2025-02-13

694 downloads per month

MIT license

475KB
10K 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.9–1.4MB
~29K SLoC