40 releases (19 breaking)

0.38.1 May 13, 2025
0.37.0 Apr 1, 2025
0.36.0 Jan 7, 2025
0.35.0 Nov 29, 2024
0.19.0 Jun 18, 2020

#35 in macOS and iOS APIs

Download history 181379/week @ 2025-02-02 182403/week @ 2025-02-09 159251/week @ 2025-02-16 194312/week @ 2025-02-23 177809/week @ 2025-03-02 188624/week @ 2025-03-09 169543/week @ 2025-03-16 183582/week @ 2025-03-23 201988/week @ 2025-03-30 211818/week @ 2025-04-06 217221/week @ 2025-04-13 239743/week @ 2025-04-20 203871/week @ 2025-04-27 166766/week @ 2025-05-04 183532/week @ 2025-05-11 178260/week @ 2025-05-18

744,593 downloads per month
Used in 28 crates (via sentry)

MIT license

190KB
3.5K SLoC

Sentry

Sentry Rust SDK: sentry-contexts

Adds Contexts to Sentry Events.

This integration is enabled by default in sentry and adds device, os and rust contexts to Events, and also sets a server_name if it is not already defined.

See the Contexts Interface documentation for more info.

Examples

let integration = sentry_contexts::ContextIntegration::new().add_os(false);
let _sentry = sentry::init(sentry::ClientOptions::new().add_integration(integration));

Resources

License: MIT

Dependencies

~4–14MB
~142K SLoC