mgeisler / version-sync

Keep version numbers in sync with Cargo.toml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

complains about alternate `[dependency]` blocks showing a git include

codyps opened this issue · comments

For example, https://github.com/jmesmon/rust-systemd/blob/cec9df440144daf975348fb7532f88c4757ca9ec/README.md or https://github.com/jmesmon/rust-systemd/blob/bb87c893127da33cf27c32fcbfd40a40d5f9cb37/README.md

[dependencies.systemd]
git = "https://github.com/jmesmon/rust-systemd"

etc.

Marking as no_sync as a workaround, but seems plausible that version-sync could detect that one is trying to provide a git dependency and allow it.

Hi Cody,

Thanks for the report -- I agree completely, version-sync should be smart enough to ignore such dependencies. I'll see what I can come up with!

When might this be available on crates.io?

Hi @ahmedcharles, I just merged #45 to address this issue. I'll try to make a release in the next days.

@ahmedcharles, I've just published version 0.6.0 with this change and with another little feature that I've been meaning to get out. Enjoy!

Thanks!