25 releases (14 breaking)

new 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

#268 in Testing

Download history 23/week @ 2024-09-11 31/week @ 2024-09-18 17/week @ 2024-09-25 3/week @ 2024-10-02 152/week @ 2024-10-09 6/week @ 2024-10-16 1/week @ 2024-10-30 2/week @ 2024-11-06 135/week @ 2024-12-04 10/week @ 2024-12-11

145 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.4MB
~30K SLoC