Rust

Sentry-Rust is the official Rust SDK for Sentry. It maps the entire Sentry protocol for Rust and provides convenient helpers for sending common types of events to Sentry.

The Rust SDK follows the new unified SDK architecture. To get started have a look at the quickstart docs and the crates API Docs.

Quick Start

Copied
let _guard = sentry::init("PUBLIC_DSN");
sentry::capture_message("Hello World!", sentry::Level::Info);

Integrations

Integrations extend the functionality of the SDK for some common frameworks and libraries.

A list of integrations and their feature flags can be found in the integration API docs.

Apart from those, the Rust SDK also supports the following application frameworks:

More Information

You can edit this page on GitHub.