Skip to content

Remove unused serde dependency from sentry-core #1380

Closed

Description

@sentry-junior

sentry-core declares a direct serde dependency that nothing in the crate uses.

  • sentry-core/Cargo.toml lists serde = { workspace = true, features = ["derive"] } as a non-optional dependency, so it is not exposed as a feature flag.
  • No code in sentry-core/src references serde (no serde:: paths or Serialize/Deserialize derives); cargo machete flags it as unused.
  • serde_json is used by sentry-core and is out of scope.

via @szokeasaurusrex.

--

View Junior Session [Sentry]

Activity

  1. linear-code commented on Oct 29, 2026

    @linear-code
  2. added a commit that references this issue on Nov 20, 2026
    1f5e6a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Rust

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions