You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: posts/inside-rust/2024-05-07-this-development-cycle-in-cargo-1.79.md
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -59,24 +59,24 @@ The deprecations ended up being divided into the following categories:
59
59
60
60
**Deprecate, remove on next Edition:** including [#13747](https://github.com/rust-lang/cargo/pull/13747), [#13804](https://github.com/rust-lang/cargo/pull/13804), and [#13839](https://github.com/rust-lang/cargo/pull/13839).
61
61
62
-
**Deprecate but never remove:** This is targeted on areas like the CLI or `.cargo/config.toml` which don't have an Edition mechanism to evolve them.
62
+
**Deprecate but never remove:** This is targeted in areas like the CLI or `.cargo/config.toml` which don't have an Edition mechanism to evolve them.
63
63
64
-
**Remove, breaking compatibility:** This is focused on bugs with little impact to users.
64
+
**Remove, breaking compatibility:** This is focused on bugs with minimized impact to users.
65
65
66
66
An easy example is `badges.workspace = true` allowing inheritance from `package.badges`.
67
67
This was not in the RFC, undocumented, and didn't follow the standard pattern for inheritance making it harder to discover.
68
-
We remove support for this in [#13788](https://github.com/rust-lang/cargo/pull/13788).
68
+
We removed support for this in [#13788](https://github.com/rust-lang/cargo/pull/13788).
69
69
70
70
<!-- team meeting: 2024-04-30 -->
71
71
Cargo also allowed dependencies without a source (e.g. `dep = {}`).
72
-
This was originally removed 3 years ago in [#9686](https://github.com/rust-lang/cargo/pull/9686).
73
-
This was reverted after it was reported to have broken an old version of the `bit-set` crate which was used by `libusb` which has gone unmaintained ([see #9885](https://github.com/rust-lang/cargo/issues/9885)).
72
+
This was originally removed 3 years ago in [#9686](https://github.com/rust-lang/cargo/pull/9686)
73
+
but was reverted after it was reported to have broken an old version of the `bit-set` crate which was used by `libusb` which has gone unmaintained ([see #9885](https://github.com/rust-lang/cargo/issues/9885)).
74
74
We revisited this and decided to remove support for it again
75
75
(see [#13775](https://github.com/rust-lang/cargo/pull/13775))
After looking at this more carefully, we decided to stick with our original decision.
79
-
Users of libusb have had 3 years and there are two maintained replacement packages
79
+
We broke people 3 years ago, been warning since that it will be removed, and there are two maintained replacement packages
80
80
([rusb](https://crates.io/crates/rusb) and [nusb](https://crates.io/crates/nusb)).
81
81
82
82
**Re-evaluate in the future:** In particular, for [#4797](https://github.com/rust-lang/cargo/pull/4797), we want to wait until there is a stable mechanism to replace it.
@@ -190,6 +190,9 @@ Before, that was a version from your lockfile or a MSRV-compatible version.
190
190
With [cargo-information#137](https://github.com/hi-rustin/cargo-information/pull/137),
191
191
we don't just check the lockfile but first check the direct dependencies of the package you are in and then the direct dependencies of all workspace members, making it more likely what will be shown is what you will be using.
192
192
193
+

194
+
*(verbose output, normally dependencies are hidden)*
195
+
193
196
At this point, [`cargo-information`](https://crates.io/crates/cargo-information) feels like it could be ready to merge into cargo.
194
197
Please give it a try and [let us know what you think](https://github.com/hi-rustin/cargo-information/issues)!
0 commit comments