# Send Rust errors, logs and traces to Flare
[](https://github.com/spatie/flare-client-rust/actions/workflows/ci.yml)
Send errors, panics, logs and traces from Rust applications to [Flare](https://flareapp.io).
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.
```rust
#[flareapp::main]
fn main() {
// Flare reports panics, and errors that `main` returns.
}
```
## Support us
[<img src="https://spatie.be/github-ad-image/flare-client-php.jpg" width="419px" />](https://spatie.be/github-ad-click/flare-client-php)
We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).
## Documentation
See the [getting started guide and API reference](https://docs.rs/flareapp/latest/flareapp/#getting-started).
You can install the package with Cargo:
```sh
cargo add flareapp
```
## Testing
```bash
cargo test
```
## Changelog
Please see [the releases](https://github.com/spatie/flare-client-rust/releases) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.
## Security vulnerabilities
If you discover any security related issues, please email support@flareapp.io instead of using the issue tracker.
## Credits
- [All contributors](https://github.com/spatie/flare-client-rust/graphs/contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.