*/!\ The project is in the alpha stage /!*
Airbrake Rust is an Airbrake notifier library for the Rust Programming language. The library provides minimalist API that enables the ability to send Rust errors to the Airbrake dashboard.
Add the crate to your Cargo.toml:
toml
[dependencies]
airbrake = "0.1"
This is the minimal example that you can use to test Airbrake Rust with your project:
```rust extern crate airbrake;
use std::num::ParseIntError;
fn main() { let airbrake = airbrake::configure(|config| { config.projectid = 113743; config.projectkey = "81bbff95d52f8856c770bb39e827f3f6".to_owned(); });
match double_number("NOT A NUMBER") {
Ok(n) => assert_eq!(n, 20),
Err(err) => airbrake.notify_sync(err)
}
} ```