Skip to content

Commit 0ebb909

Browse files
committed
Add cargo-info screenshot
1 parent b2d0f4e commit 0ebb909

File tree

2 files changed

+68
-6
lines changed

2 files changed

+68
-6
lines changed

posts/inside-rust/2024-05-07-this-development-cycle-in-cargo-1.79.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,24 @@ The deprecations ended up being divided into the following categories:
5959

6060
**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).
6161

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.
6363

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.
6565

6666
An easy example is `badges.workspace = true` allowing inheritance from `package.badges`.
6767
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).
6969

7070
<!-- team meeting: 2024-04-30 -->
7171
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)).
7474
We revisited this and decided to remove support for it again
7575
(see [#13775](https://github.com/rust-lang/cargo/pull/13775))
7676
and soon after a user of libusb noticed again
7777
([#13824](https://github.com/rust-lang/cargo/issues/13824)).
7878
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
8080
([rusb](https://crates.io/crates/rusb) and [nusb](https://crates.io/crates/nusb)).
8181

8282
**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.
190190
With [cargo-information#137](https://github.com/hi-rustin/cargo-information/pull/137),
191191
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.
192192

193+
![rendering of cargo-info's verbose output using SVG](../../../../images/inside-rust/2024-05-07-this-development-cycle-in-cargo-1.79/info.stdout.term.svg)
194+
*(verbose output, normally dependencies are hidden)*
195+
193196
At this point, [`cargo-information`](https://crates.io/crates/cargo-information) feels like it could be ready to merge into cargo.
194197
Please give it a try and [let us know what you think](https://github.com/hi-rustin/cargo-information/issues)!
195198

Lines changed: 59 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)