Comments (3)
(This is derive-deftly ticket 82)
from cargo.
This mentions 1.79.0-beta.3. I've reproduced this on 1.64
from cargo.
So the reproduction step has us cherry pick a20d8994f74e091a0df864211e087e5ed5f15615
diff --git c/Cargo.toml w/Cargo.toml
index 80f8e24..48d3569 100644
--- c/Cargo.toml
+++ w/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "derive-deftly"
-version = "0.11.0"
+version = "0.10.666"
edition = "2021"
license="MIT"
authors=["Ian Jackson <[email protected]>",
- This is why changes in version are expected
- There are registry dependencies on derive-deftly 0.11.0, so that is why the disambiguation changes are there
On the baseline commit:
$ cargo tree -i [email protected]
heck v0.4.1
└── strum_macros v0.26.2 (proc-macro)
└── strum v0.26.2
└── derive-deftly-macros v0.11.0 (proc-macro) (/home/epage/src/personal dump/rust-derive-deftly/macros)
└── derive-deftly v0.11.0 (/home/epage/src/personal/dump/rust-derive-deftly)
$ cargo tree -i [email protected]
heck v0.5.0
├── derive-deftly v0.11.0 (/home/epage/src/personal/dump/rust-derive-deftly)
└── derive-deftly-macros v0.11.0 (proc-macro) (/home/epage/src/personal/dump/rust-derive-deftly/macros)
└── derive-deftly v0.11.0 (/home/epage/src/personal/dump/rust-derive-deftly)
- strum_macros depends on
heck = "0.4.1"
- both
derive-deftly
andderive-deftly-macros
depends onheck = ">=0.4, <0.6"
- The registry version has the same version requirement
However, if I run
$ cargo generate-lockfile
then the version of heck
doesn't change.
So overall, I'm not finding anything out of the ordinary than wide version ranges.
My general assumption has always been that we pick the highest version for each version range. However, what is likely happening here is that we are resolving derive-deflty
freshly and seeing an existing locked resolve of heck
and picking that.
We have #13535 for tweaking the logic which might make this more consistent.
from cargo.
Related Issues (20)
- Loading of a git source is slow due to manifest parsing HOT 3
- "no hash listed" error with `-Zpackage-workspace` HOT 2
- Encoded `CARGO_TARGET_<triple>_RUSTFLAGS` just like `CARGO_ENCODED_RUSTFLAGS`? HOT 1
- Cargo cannot find renamed dependency from crates-io in package from different registry HOT 13
- `cargo t --doc` does not respect `--color` when a compilation error occurs HOT 3
- No way to change the git address of Updating git submodule `https://chromium.googlesource.com/webm/libwebm` HOT 1
- Cargo claims to ignore binary dependencies, but does unify features anyway HOT 10
- `cargo test --doc` from `make -j` always triggers "failed to connect to jobserver from environment" HOT 3
- `cargo info` requires login HOT 9
- cargo does not see `Cargo.toml` if `.gitignore` contains `/*` HOT 16
- MSRV resolver has surprising behaviour in workspaces with mixed MSRV HOT 19
- Can't generate feature gated code from a proc macro in a reliable way when used by both normal/build dependencies with `resolver="2"` HOT 2
- trim-paths mixes forward and backslashes in backtrace when built on WIndows HOT 1
- Option for `cargo tree` to filter out (non-)workspace members HOT 2
- Tracking Issue for `--lockfile-path` HOT 1
- `cargo publish --dry-run` doesn't fail on invalid keywords HOT 3
- Ability to test against registry dependencies, instead of path dependencies HOT 1
- Introduce perma-unstable `--compile-time-deps` flag HOT 3
- `cargo test` produces `Too many open files` on NixOS when using multiple integration tests HOT 10
- Report crates.io metrics in `cargo info` subcommand
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo.