Closed flying-sheep closed 3 weeks ago
I just discovered this library after using the Python dotfiles for years. It sounds awesome but I hit this snag on a fresh Pop OS install.
Looks like we may just need a new version published. I was able to build and install from main
cargo install toml-bombadil --git https://github.com/oknozor/toml-bombadil.git --branch main
I have this problem too on ubuntu 23.04 with rustc/cargo version 1.75.0
Looks like we may just need a new version published. I was able to build and install from main
cargo install toml-bombadil --git https://github.com/oknozor/toml-bombadil.git --branch main
Thank you it worked for me.
Would still be great to get a new release @oknozor
Hi all,
Install your tools always with a --locked
or --frozen
flag if you want to avoid the resolution of dependencies and use the same versions of dependencies the developer did during publishing to crates.io.
cargo install --locked toml-bombadil
https://doc.rust-lang.org/cargo/commands/cargo-install.html#dealing-with-the-lockfile
Actually you should not treat this as a bug. It is more an issue what the user expects when invoking cargo install
.
See, if you just install with cargo install toml-bombadil
cargo does not take the Cargo.lock
into account, which means it's trying to resolve the latest compatible versions of dependencies.
If one of the dependencies does not respect SemVer, or violated SemVer somehow, this will result in a non compilable state.
The same is true if the Cargo.toml version patterns are not correct.
this should not be an issue anymore.
Describe the bug
To Reproduce