Skip to content

Incorrect version resolving with git dependencies #16269

@Ddystopia

Description

@Ddystopia

Problem

Hello, crate pinned-init has changed its name to pin-init inside the git repo and will later be published in place of pin-init crate that currently has that name. The problem is, when I try publish crate that depends on pin-init as a git repo I need to specify a version, and there are problems. If I specify a version from repo, it tells only versions from crates.io are available, and if I use versions from crates.io... It lists versions from git repo... So I just can't publish anything!

Steps

No response

Possible Solution(s)

No response

Notes

No response

Version

cargo version --verbose
cargo 1.93.0-nightly (344c4567c 2025-10-21)
release: 1.93.0-nightly
commit-hash: 344c4567c634a25837e3c3476aac08af84cf9203
commit-date: 2025-10-21
host: x86_64-unknown-linux-gnu
libgit2: 1.9.1 (sys:0.20.2 vendored)
libcurl: 8.15.0-DEV (sys:0.4.83+curl-8.15.0 vendored ssl:OpenSSL/3.5.4)
ssl: OpenSSL 3.5.4 30 Sep 2025
os: Arch Linux Rolling Release [64-bit]

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-patchArea: [patch] table overrideC-bugCategory: bugS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions