19 releases (11 breaking)

0.21.1 Mar 1, 2024
0.20.0 Jan 31, 2024
0.19.1 Nov 2, 2023
0.17.0 May 17, 2023
0.10.2 Mar 24, 2022

#1537 in Parser implementations

Download history 2/week @ 2024-01-29 1/week @ 2024-02-19 244/week @ 2024-02-26 12/week @ 2024-03-04 68/week @ 2024-03-11 112/week @ 2024-04-01

181 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

~1–1.6MB
~33K SLoC