Skip to content

[metrics] metrics + metrics-exporter-prometheus not declared in workspace.dependencies #219

@obchain

Description

@obchain

Refs #50

File: Cargo.toml (root)

Problem

charon-metrics declares dependencies on metrics + metrics-exporter-prometheus (or whichever crate is used) directly with version strings instead of via [workspace.dependencies]. Project convention is workspace-wide deps with single version source.

Fix

Add to root Cargo.toml [workspace.dependencies]:

metrics = "0.23"
metrics-exporter-prometheus = "0.15"

Reference in charon-metrics/Cargo.toml as { workspace = true }.

Metadata

Metadata

Assignees

No one assigned

    Labels

    layer:rustRust crates (core / scanner / protocols / executor / cli)pr-reviewFindings from PR review processpriority:p1-coreCore MVP scopestatus:readyScoped and ready to pick uptype:choreMaintenance, config, tooling

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions