Skip to content

cargo: dev-dependency update is marked as "dependency-type: direct:production" #13070

@martin-g

Description

@martin-g

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

cargo

Package manager version

1.89.0

Language version

No response

Manifest location and content before the Dependabot update

No response

dependabot.yml content

No response

Updated dependency

No response

What you expected to see, versus what you actually saw

I want to discuss the commit message used for sharkdp/pastel@bd8537a

It contains:

updated-dependencies:
- dependency-name: criterion
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor

In the diff below you could see that criterion is a dev-dependency, so instead of dependency-type: direct:production I would expect to see dependency-type: direct:development

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions