Skip to content

Commit 93f3a6e

Browse files
committed
feat: Fixed build
1 parent 994d783 commit 93f3a6e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

integrations/sentry-actix/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ documentation = "https://docs.rs/sentry-actix"
1010
description = """
1111
Sentry client extension for actix-web
1212
"""
13-
build = "build.rs"
1413

1514
[dependencies]
1615
actix-web = "0.6.13"

integrations/sentry-actix/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
//! extern crate actix_web;
1313
//! extern crate sentry;
1414
//! extern crate sentry_actix;
15-
//!
15+
//!
1616
//! # fn main() {
1717
//! use std::env;
1818
//! use std::io;
19-
//!
19+
//!
2020
//! use actix_web::{server, App, Error, HttpRequest};
2121
//! use sentry_actix::SentryMiddleware;
22-
//!
22+
//!
2323
//! fn failing(_req: HttpRequest) -> Result<String, Error> {
2424
//! Err(io::Error::new(io::ErrorKind::Other, "An error happens here").into())
2525
//! }
26-
//!
26+
//!
2727
//! fn main() {
2828
//! let _guard = sentry::init("https://public@sentry.io/1234");
2929
//! env::set_var("RUST_BACKTRACE", "1");
3030
//! sentry::integrations::panic::register_panic_handler();
31-
//!
31+
//!
3232
//! server::new(|| {
3333
//! App::new()
3434
//! .middleware(SentryMiddleware::new())

0 commit comments

Comments
 (0)