sentry_integration

Crates.iosentry_integration
lib.rssentry_integration
version0.1.0
sourcesrc
created_at2024-09-12 11:35:08.757225
updated_at2024-09-12 11:35:08.757225
descriptionA Rust package for Sentry integration with custom DSN configuration
homepage
repositoryhttps://github.com/yourusername/sentry_integration
max_upload_size
id1372680
size4,293
Mohd Nadeem (codewithnadeem14502)

documentation

README

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.


Commit count: 0

cargo fmt