Skip to content

Do not pull in sentry-actix as default dependency #805

Closed
@Simon089

Description

@Simon089

Problem Statement

Starting with version 0.38.0 Sentry pulls in sentry-actix as a dependency by default, even without the actix feature flag. This installs a lot of crates around actix which are not used.

Solution Brainstorm

It looks like the default feature flag release-health pulls in sentry-actix since #788.
When adding the sentry crate with all default features but release-health the sentry-actix crate is not pulled in.

sentry = { version = "0.38.0", default-features = false, features = ["backtrace", "contexts", "debug-images", "panic", "transport"] }

Maybe the feature flag can be updated to fix this, not sure.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions