Crates.io | sentry-conduit |
lib.rs | sentry-conduit |
version | 0.29.0 |
source | src |
created_at | 2021-10-07 11:09:05.9361 |
updated_at | 2022-11-17 19:57:58.207376 |
description | Sentry middleware for conduit |
homepage | |
repository | https://github.com/Turbo87/sentry-conduit.git |
max_upload_size | |
id | 461688 |
size | 75,382 |
transaction
field support (aka. the route pattern that was used by conduit-router)The "Minimum Supported Rust Version" of this project is: v1.60.0
fn build_app() -> impl Hander {
let mut router = RouteBuilder::new();
router.get("/", healthy);
router.get("/msg", message);
router.get("/err", error);
router.get("/panic", panic);
let mut builder = MiddlewareBuilder::new(router);
builder.add(SentryMiddleware::default());
builder
}
The full example code is available in the examples folder.
This project is licensed under either of
Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.