6 releases

Uses old Rust 2015

0.2.1 Jan 8, 2018
0.2.0 Nov 18, 2017
0.1.3 Mar 30, 2017

#30 in #reporting

Download history 3/week @ 2024-02-01 3/week @ 2024-02-15 12/week @ 2024-02-22 8/week @ 2024-02-29 18/week @ 2024-03-07 14/week @ 2024-03-14 40/week @ 2024-03-21 57/week @ 2024-03-28 43/week @ 2024-04-04 21/week @ 2024-04-11 5/week @ 2024-04-18 5/week @ 2024-04-25 19/week @ 2024-05-02 83/week @ 2024-05-09 14/week @ 2024-05-16

122 downloads per month
Used in 3 crates (2 directly)

MIT license

36KB
933 lines

Build Status Coverage Status MIT licensed docs

bugsnag-rs

The Bugsnag api in rust.

Example

use bugsnag;
let mut api = bugsnag::Bugsnag::new("api-key", env!("CARGO_MANIFEST_DIR"));

// setting the appinfo is not required, but recommended 
api.set_app_info(Some(env!("CARGO_PKG_VERSION")),
                 Some("development"),
                 Some("rust"));

api.notify("Info", "This is a message from the rust bugsnag api.")
       .severity(bugsnag::Severity::Info);

Or in a panic handler you could do the following:


use bugsnag;
let mut api = bugsnag::Bugsnag::new("api-key", env!("CARGO_MANIFEST_DIR"));

bugsnag::panic::handle(&api, panic_info, None);

For more examples on how to integrate bugsnag into a project, the examples folder provides some reference implementations.

Which json fields are missing?

  • metaData
  • user

The structure of the json can be found here.

Dependencies

~7.5–10MB
~225K SLoC