Skip to content

Commit 80f9246

Browse files
committed
feat(actix): Add a way to disable the default sentry features in sentry-actix
1 parent 11fdf3e commit 80f9246

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

integrations/sentry-actix/Cargo.toml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,22 @@ Sentry client extension for actix-web
1212
"""
1313
edition = "2018"
1414

15+
[features]
16+
default = ["with_sentry_default"]
17+
with_sentry_default = [
18+
"sentry/with_client_implementation",
19+
"sentry/with_default_transport",
20+
"sentry/with_panic",
21+
"sentry/with_failure",
22+
"sentry/with_log",
23+
"sentry/with_env_logger",
24+
"sentry/with_device_info",
25+
"sentry/with_rust_info",
26+
"sentry/with_native_tls"
27+
]
28+
1529
[dependencies]
1630
actix-web = { version = "0.7", default-features = false }
17-
sentry = { version = "0.15.3", path = "../../" }
31+
sentry = { version = "0.15.3", path = "../../", default-features = false }
1832
failure = "0.1.3"
1933
fragile = "0.3.0"

0 commit comments

Comments
 (0)