Crates.io | sentry_integration |
lib.rs | sentry_integration |
version | 0.1.0 |
source | src |
created_at | 2024-09-12 11:35:08.757225 |
updated_at | 2024-09-12 11:35:08.757225 |
description | A Rust package for Sentry integration with custom DSN configuration |
homepage | |
repository | https://github.com/yourusername/sentry_integration |
max_upload_size | |
id | 1372680 |
size | 4,293 |
This package provides a simple integration with Sentry for Rust applications, allowing for custom DSN configuration.
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
}
This project is licensed under the MIT License - see the LICENSE file for details.