11 unstable releases
0.8.3 | Jun 8, 2024 |
---|---|
0.8.2 | Feb 15, 2024 |
0.8.1 | Jan 29, 2024 |
0.8.0 | Apr 3, 2023 |
0.5.0 | Jul 21, 2022 |
#103 in Debugging
31,561 downloads per month
Used in 9 crates
(3 directly)
150KB
3K
SLoC
This crate supplies a client and server IPC implementation for communicating between a process that may crash (client) and a monitor (server) process.
The client can communicate application-specific state via Client::send_message
, and, if a crash occurs, can use Client::request_dump
to request a minidump be created. The Server
uses a user implemented ServerHandler
to handle the messages sent by the client, and provides a way to create the minidump file where a requested crash can be written to, as well as a callback when a minidump is finished writing (both on failure and success) to perform whatever additional steps make sense for the application, such as transmission of the minidump to an external HTTP service for processing or the like.
Contribution
We welcome community contributions to this project.
Please read our Contributor Guide for more information on how to get started. Please also read our Contributor Terms before you make any contributions.
Any contribution intentionally submitted for inclusion in an Embark Studios project, shall comply with the Rust standard licensing model (MIT OR Apache 2.0) and therefore be dual licensed as described below, without any additional terms or conditions:
License
This contribution is dual licensed under EITHER OF
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
For clarity, "your" refers to Embark or any other licensee/user of the contribution.
Dependencies
~5–15MB
~201K SLoC