1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! # The Bugsnag api
//!
//! This crate provides an interface for reporting messages to Bugsnag.
//!
//! # Example
//!
//! ```
//! 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);
//! ```
//!
//! For more examples on how to integrate bugsnag into a project, the examples
//! folder provides some reference implementations.
extern crate backtrace;
extern crate hyper;
extern crate serde;
extern crate serde_derive;
extern crate serde_json;
extern crate serde_test;
extern crate sys_info;
pub use *;