24 releases (13 breaking)

new 0.23.0 Dec 4, 2024
0.22.2 Oct 10, 2024
0.22.1 Sep 5, 2024
0.22.0 Jul 3, 2024
0.10.2 Mar 24, 2022

#265 in Testing

Download history 111/week @ 2024-08-31 18/week @ 2024-09-07 33/week @ 2024-09-14 33/week @ 2024-09-21 8/week @ 2024-09-28 126/week @ 2024-10-05 31/week @ 2024-10-12 1/week @ 2024-10-19 3/week @ 2024-11-02 114/week @ 2024-11-30

116 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