cargo-unmaintained icon indicating copy to clipboard operation
cargo-unmaintained copied to clipboard

libz-ng-sys

Open jayvdb opened this issue 6 months ago • 2 comments

My output now contains

libz-ng-sys (not in https://github.com/rust-lang/libz-sys)

It is defined in https://github.com/rust-lang/libz-sys/blob/main/Cargo-zng.toml

jayvdb avatar Jun 20 '25 04:06 jayvdb

I'm no longer convinced this is a bug. I found this text:

The script ./cargo-zng invokes Cargo on a temporary copy of the sources with Cargo-zng.toml replacing Cargo.toml; for instance, use ./cargo-zng publish to publish libz-ng-sys.

Moreover, a dependency like this doesn't work:

libz-ng-sys = { git = "https://github.com/rust-lang/libz-sys" }

I take it you feel otherwise?

smoelius avatar Jun 24 '25 00:06 smoelius

I depend on flate2 , and it depends on libz-ng-sys

https://crates.io/crates/libz-ng-sys has 18,000 downloads per day and lists repository as https://github.com/rust-lang/libz-sys , which is indeed where the code of that crate is found.

Unless you want to try to convince the libz-sys repo that they should change their ways, cargo-maintained needs to somehow handle this so that it isnt an error condition.

Given this is in rust-lang org, IMO it is worth some special case logic in cargo-maintained.

jayvdb avatar Jun 25 '25 00:06 jayvdb