github.com/daxpedda/sentry-contrib-native ↗
Unofficial bindings to the Sentry Native SDK for Rust.
Open this visualization on its own page →
Contributors
3
Lines of Code
813
From
2020-06-08
To
2020-08-21
About daxpedda/sentry-contrib-native
This is an unofficial Rust wrapper around Sentry's Native SDK, enabling Rust applications to send crash reports to Sentry even when the application crashes. Unlike the official Sentry SDK for Rust, which only handles panics, this crate leverages Sentry's C/C++ Native SDK to capture actual process crashes and send them to Sentry for analysis.
The crate supports multiple crash handling backends (Crashpad, Breakpad, and InProc) and transport mechanisms, with sensible defaults for each platform. On Linux, macOS, and Windows, it uses Crashpad by default and automatically copies the Crashpad handler executable to the build output directory for convenience. The implementation requires CMake for building, as it depends on the Sentry Native SDK, though pre-built versions can be provided via environment variables.
Note that this crate has been deprecated in favor of the pure Rust alternative crash-handler crate. The project is tested on Linux, macOS, and Windows, and is dual-licensed under Apache License 2.0 and MIT.