Skip to content

simlin-mcp-core: remove declared-but-unused tracing dependency #803

Closed

Description

@bpowers

Problem

src/simlin-mcp-core/Cargo.toml declares tracing = "0.1" as a direct dependency (line 17), but tracing is never used anywhere in src/simlin-mcp-core/src/.

Verified by grepping the crate's src/ for tracing, use tracing, tracing::, and every logging/span macro (info!/warn!/error!/debug!/trace!/span!/instrument) -- zero hits.

Why it matters

A declared-but-unused direct dependency is misleading: it implies the crate emits tracing spans/events when it does not. Removing it keeps the manifest honest and the dependency surface minimal. Risk is low -- tracing remains in the workspace tree via other crates (e.g. simlin-serve, rmcp), so dropping this one direct declaration changes no transitive closure.

Component affected

src/simlin-mcp-core (Cargo.toml only).

Suggested fix

Delete line 17 (tracing = "0.1") from src/simlin-mcp-core/Cargo.toml. One-line change; cargo build -p simlin-mcp-core and cargo test -p simlin-mcp-core should confirm nothing depended on it.

How discovered

Identified during a Rust supply-chain dependency audit.

Activity

  1. bpowers commented on Jun 20, 2026

    @bpowers
    OwnerAuthor

    Fixed on branch dep-diet-round2: removed the unused tracing direct dependency from simlin-mcp-core (it stays in the tree transitively via simlin-serve and rmcp).

  2. added a commit that references this issue on Jun 21, 2026
    5dc2e40
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions