flareapp-core 0.2.0

The core of the Flare client: config, the client, and the worker thread that sends data.
Documentation

Send Rust errors, logs and traces to Flare

Run tests

This repository contains the Rust client for Flare. It sends errors, panics, logs and traces to Flare, and works with Rust 1.94 and newer.

Installation

[dependencies]
flareapp = "0.2"

Set FLARE_KEY to the API key of your Flare project, in the environment or in a .env file. Without a key, Flare is disabled.

#[flareapp::main]
fn main() {
    // Flare reports panics, and errors that `main` returns.
}

Turn on a feature for each integration that you use: tracing, log, tower, axum, actix, reqwest, sqlx-postgres, sqlx-mysql, sqlx-sqlite or anyhow.

Documentation

The documentation can be found here. If you rather read the crate documentation, you can read it on docs.rs.

Testing

cargo test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email support@flareapp.io instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.