1 unstable release
0.1.0 | Sep 12, 2024 |
---|
#840 in Debugging
4KB
Sentry Integration for Rust
This package provides a simple integration with Sentry for Rust applications, allowing for custom DSN configuration.
Usage
Add this to your Cargo.toml
:
[dependencies]
sentry_integration = "0.1.0"
Then in your Rust code:
use sentry_integration;
fn main() {
let config = sentry_integration::Config {
project_id: "your_project_id".to_string(),
public_key: "your_public_key".to_string(),
};
sentry_integration::init(config);
// Your application code here
}
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~4–5.5MB
~101K SLoC