25 releases (14 breaking)

0.24.0 Jan 6, 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

#261 in Testing

Download history 5/week @ 2024-09-30 144/week @ 2024-10-07 14/week @ 2024-10-14 3/week @ 2024-11-04 131/week @ 2024-12-02 14/week @ 2024-12-09 140/week @ 2025-01-06 4/week @ 2025-01-13

144 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.9–1.5MB
~30K SLoC