This workspace contains various crates that provide support for logging events and errors / panics to the Sentry error logging service.
-
The main
sentry
crate aimed at application users that want to log events to sentry. -
An integration for the
actix-web (3.0+)
framework. -
An integration for
anyhow
errors. -
A utility crate that creates and processes backtraces.
-
An integration that provides
os
,device
andrust
contexts. -
The core of
sentry
, which can be used to instrument code, and to write integrations that generate events or hook into event processing. -
An integration that adds a list of loaded libraries to events.
-
An integration for the
log
andenv_logger
crate. -
An integration for capturing and logging panics.
-
An integration for the
slog
crate. -
An integration for the
tracing
crate. -
Contains types for the Sentry v7 protocol as well as other common types.
Note: Until the 1.0 release, the crates in this repository are considered work in progress and do not follow semver semantics. Between minor releases, we might occasionally introduce breaking changes while we are exploring the best API and adding new features.
We currently only verify this crate against a recent version of Sentry hosted on sentry.io but it should work with on-prem Sentry versions 20.6 and later.
The Minimum Supported Rust Version is currently at 1.68.0. The Sentry crates will support a 6 months old Rust version at time of release, and the MSRV will be increased in accordance with its dependencies.
Note: Due to the misconfiguration in our workflow that verified the MSRV builds, we had to bump it all the way to 1.67.0, breaking our own 6 months old rule. As of version 0.30.0, the workflow has been fixed, and the MSRV will be enforced correctly.
- Discord server for project discussions.
- Follow @getsentry on Twitter for updates