Skip to content

Commit 37ac0c2

Browse files
authored
chore: bump to 0.91.0; update changelog (#15710)
2 parents 96c6d7b + 57dbb7f commit 37ac0c2

File tree

7 files changed

+132
-30
lines changed

7 files changed

+132
-30
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ self_named_module_files = "warn"
136136

137137
[package]
138138
name = "cargo"
139-
version = "0.90.0"
139+
version = "0.91.0"
140140
edition.workspace = true
141141
license.workspace = true
142142
rust-version = "1.88" # MSRV:1

src/doc/src/CHANGELOG.md

Lines changed: 121 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,35 @@
11
# Changelog
22

3+
## Cargo 1.90 (2025-09-18)
4+
[c24e1064...HEAD](https://github.com/rust-lang/cargo/compare/c24e1064...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
10+
### Fixed
11+
12+
- Expanded error messages around path dependency on `cargo package` and `cargo publish`
13+
[#15705](https://github.com/rust-lang/cargo/pull/15705)
14+
15+
### Nightly only
16+
17+
- feat(toml): Parse support for multiple build scripts
18+
[#15630](https://github.com/rust-lang/cargo/pull/15630)
19+
20+
### Documentation
21+
22+
### Internal
23+
324
## Cargo 1.89 (2025-08-07)
4-
[873a0649...HEAD](https://github.com/rust-lang/cargo/compare/873a0649...HEAD)
25+
[873a0649...rust-1.89.0](https://github.com/rust-lang/cargo/compare/873a0649...rust-1.89.0)
526

627
### Added
728

829
- Add `*` and `?` pattern support for SSH known hosts matching.
930
[#15508](https://github.com/rust-lang/cargo/pull/15508)
31+
- Stabilize doctest-xcompile. Doctests will now automatically be tested when cross-compiling to a target that is different from the host, just like other tests.
32+
[#15462](https://github.com/rust-lang/cargo/pull/15462)
1033

1134
### Changed
1235

@@ -28,6 +51,28 @@
2851

2952
### Fixed
3053

54+
- Fixed potential deadlock in `CacheState::lock`
55+
[#15698](https://github.com/rust-lang/cargo/pull/15698)
56+
[#15699](https://github.com/rust-lang/cargo/pull/15699)
57+
- Fixed the `--manifest-path` arg being ignored in `cargo fix`
58+
[#15633](https://github.com/rust-lang/cargo/pull/15633)
59+
- When publishing, don't tell people to ctrl-c without knowing consequences.
60+
[#15632](https://github.com/rust-lang/cargo/pull/15632)
61+
- Added missing `--offline` in shell completions.
62+
[#15623](https://github.com/rust-lang/cargo/pull/15623)
63+
- cargo-credential-libsecret: load libsecret only once
64+
[#15295](https://github.com/rust-lang/cargo/pull/15295)
65+
- When failing to find the mtime of a file for rebuild detection, report an explicit reason rather than "stale; unknown reason".
66+
[#15617](https://github.com/rust-lang/cargo/pull/15617)
67+
- Fixed cargo add overwriting symlinked Cargo.toml files
68+
[#15281](https://github.com/rust-lang/cargo/pull/15281)
69+
- Vendor files with .rej/.orig suffix
70+
[#15569](https://github.com/rust-lang/cargo/pull/15569)
71+
- Vendor using direct extraction for registry sources. This should ensure that vendored files now always match the originals.
72+
[#15514](https://github.com/rust-lang/cargo/pull/15514)
73+
- In the network retry message, use singular "try" for the last retry.
74+
[#15328](https://github.com/rust-lang/cargo/pull/15328)
75+
3176
### Nightly only
3277

3378
- 🔥 `-Zno-embed-metadata`: This tells Cargo to pass the `-Zembed-metadata=no`
@@ -36,10 +81,43 @@
3681
`.rmeta` files.
3782
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#no-embed-metadata))
3883
[#15378](https://github.com/rust-lang/cargo/pull/15378)
84+
- 🔥 Plumb rustc `-Zhint-mostly-unused` flag through as a profile option
85+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#profile-hint-mostly-unused-option))
86+
[#15643](https://github.com/rust-lang/cargo/pull/15643)
87+
- Added the "future" edition
88+
[#15595](https://github.com/rust-lang/cargo/pull/15595)
89+
- Added `-Zfix-edition`
90+
[#15596](https://github.com/rust-lang/cargo/pull/15596)
91+
- Added perma unstable `--compile-time-deps` option for `cargo build`
92+
[#15674](https://github.com/rust-lang/cargo/pull/15674)
3993
- `-Zscript`: Make cargo script ignore workspaces.
4094
[#15496](https://github.com/rust-lang/cargo/pull/15496)
4195
- `-Zpackage-workspace`: keep dev-dependencies if they have a version.
4296
[#15470](https://github.com/rust-lang/cargo/pull/15470)
97+
- Added custom completer for `cargo remove <TAB>`
98+
[#15662](https://github.com/rust-lang/cargo/pull/15662)
99+
- Test improvements in prep for `-Zpackage-workspace` stabilization
100+
[#15628](https://github.com/rust-lang/cargo/pull/15628)
101+
- Allow packaging of self-cycles with `-Zpackage-workspace`
102+
[#15626](https://github.com/rust-lang/cargo/pull/15626)
103+
- With trim-paths, remap all paths to `build.build-dir`
104+
[#15614](https://github.com/rust-lang/cargo/pull/15614)
105+
- Enable more trim-paths tests for windows-msvc
106+
[#15621](https://github.com/rust-lang/cargo/pull/15621)
107+
- Fix doc rebuild detection by passing `toolchain-shared-resources` to get doc styled for rustdoc-depinfo tracking
108+
[#15605](https://github.com/rust-lang/cargo/pull/15605)
109+
- Resolve multiple bugs in frontmatter parser for `-Zscript`
110+
[#15573](https://github.com/rust-lang/cargo/pull/15573)
111+
- Remove workaround for rustc frontmatter support for `-Zscript`
112+
[#15570](https://github.com/rust-lang/cargo/pull/15570)
113+
- Allow configuring arbitrary codegen backends
114+
[#15562](https://github.com/rust-lang/cargo/pull/15562)
115+
- skip `publish=false` pkg when publishing entire workspace for `-Zpackage-workspace`.
116+
[#15525](https://github.com/rust-lang/cargo/pull/15525)
117+
- Update instructions on using native-completions
118+
[#15480](https://github.com/rust-lang/cargo/pull/15480)
119+
- Skip registry check if its not needed with `-Zpackage-workspace`.
120+
[#15629](https://github.com/rust-lang/cargo/pull/15629)
43121

44122
### Documentation
45123

@@ -49,6 +127,14 @@
49127
[#15478](https://github.com/rust-lang/cargo/pull/15478)
50128
- home: update version notice for deprecation removal
51129
[#15511](https://github.com/rust-lang/cargo/pull/15511)
130+
- docs(contrib): change clap URL to docs.rs/clap
131+
[#15682](https://github.com/rust-lang/cargo/pull/15682)
132+
- Update links in contrib docs
133+
[#15659](https://github.com/rust-lang/cargo/pull/15659)
134+
- docs: clarify `--all-features` not available for all commmands
135+
[#15572](https://github.com/rust-lang/cargo/pull/15572)
136+
- docs(README): fix the link to the changelog in the Cargo book
137+
[#15597](https://github.com/rust-lang/cargo/pull/15597)
52138

53139
### Internal
54140

@@ -64,6 +150,37 @@
64150
[#15498](https://github.com/rust-lang/cargo/pull/15498)
65151
- Update dependencies.
66152
[#15456](https://github.com/rust-lang/cargo/pull/15456)
153+
- refactor: replace InternedString with Cow in IndexPackage
154+
[#15559](https://github.com/rust-lang/cargo/pull/15559)
155+
- Use `Not::not` rather than a custom `is_false` function
156+
[#15645](https://github.com/rust-lang/cargo/pull/15645)
157+
- fix: Make UI tests handle hyperlinks consistently
158+
[#15640](https://github.com/rust-lang/cargo/pull/15640)
159+
- Update dependencies
160+
[#15635](https://github.com/rust-lang/cargo/pull/15635)
161+
[#15557](https://github.com/rust-lang/cargo/pull/15557)
162+
- refactor: clean up `clippy::perf` lint warnings
163+
[#15631](https://github.com/rust-lang/cargo/pull/15631)
164+
- chore(deps): update alpine docker tag to v3.22
165+
[#15616](https://github.com/rust-lang/cargo/pull/15616)
166+
- chore: remove HTML comments in PR template and inline guide
167+
[#15613](https://github.com/rust-lang/cargo/pull/15613)
168+
- Added .git-blame-ignore-revs
169+
[#15612](https://github.com/rust-lang/cargo/pull/15612)
170+
- refactor: cleanup for `CompileMode`
171+
[#15608](https://github.com/rust-lang/cargo/pull/15608)
172+
- refactor: separate "global" mode from CompileMode
173+
[#15601](https://github.com/rust-lang/cargo/pull/15601)
174+
- chore: Upgrade schemars
175+
[#15602](https://github.com/rust-lang/cargo/pull/15602)
176+
- Update gix & socket2
177+
[#15600](https://github.com/rust-lang/cargo/pull/15600)
178+
- chore(toml): disable `toml`'s default features, unless necessary, to reduce cargo-util-schemas build time
179+
[#15598](https://github.com/rust-lang/cargo/pull/15598)
180+
- chore(gh): Add new-lint issue template
181+
[#15575](https://github.com/rust-lang/cargo/pull/15575)
182+
- Fix comment for cargo/core/compiler/fingerprint/mod.rs
183+
[#15565](https://github.com/rust-lang/cargo/pull/15565)
67184

68185
## Cargo 1.88 (2025-06-26)
69186
[a6c604d1...rust-1.88.0](https://github.com/rust-lang/cargo/compare/a6c604d1...rust-1.88.0)
@@ -117,6 +234,9 @@
117234
as git status check is mostly informational.
118235
[#15416](https://github.com/rust-lang/cargo/pull/15416)
119236
[#15419](https://github.com/rust-lang/cargo/pull/15419)
237+
- Fixed `cargo rustc --bin` panicking on unknown bin names
238+
[#15515](https://github.com/rust-lang/cargo/pull/15515)
239+
[#15497](https://github.com/rust-lang/cargo/pull/15497)
120240

121241
### Nightly only
122242

@@ -206,7 +326,6 @@
206326
[#15193](https://github.com/rust-lang/cargo/pull/15193)
207327
- Include the package name also in the target hint message.
208328
[#15199](https://github.com/rust-lang/cargo/pull/15199)
209-
[#15497](https://github.com/rust-lang/cargo/pull/15497)
210329
- cargo-add: collapse large feature lists
211330
[#15200](https://github.com/rust-lang/cargo/pull/15200)
212331
- cargo-vendor: Add context which workspace failed to resolve

tests/testsuite/build_script.rs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5602,17 +5602,14 @@ test check_target ... ok
56025602
"#]])
56035603
.run();
56045604

5605-
// Remove check once 1.88 is stable
5606-
if cargo_test_support::is_nightly() {
5607-
p.cargo("test --workspace --doc --target")
5608-
.arg(&target)
5609-
.with_stdout_data(str![[r#"
5605+
p.cargo("test --workspace --doc --target")
5606+
.arg(&target)
5607+
.with_stdout_data(str![[r#"
56105608
...
56115609
test foo/src/lib.rs - (line 2) ... ok
56125610
...
56135611
"#]])
5614-
.run();
5615-
}
5612+
.run();
56165613
}
56175614

56185615
#[cargo_test]

tests/testsuite/cross_compile.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,10 +1136,7 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fini
11361136
.run();
11371137
}
11381138

1139-
#[cargo_test(
1140-
nightly,
1141-
reason = "waiting for 1.88 to be stable for doctest xcompile flags"
1142-
)]
1139+
#[cargo_test]
11431140
fn doctest_xcompile_linker() {
11441141
if cross_compile_disabled() {
11451142
return;

tests/testsuite/global_cache_tracker.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,11 +1987,9 @@ fn compatible_with_older_cargo() {
19871987
middle = "1.0"
19881988
"#,
19891989
);
1990-
// TODO: Remove -Zgc after 1.82 is stabilized.
19911990
rustup_cargo()
1992-
.args(&["+stable", "check", "-Zgc"])
1991+
.args(&["+stable", "check"])
19931992
.cwd(p.root())
1994-
.masquerade_as_nightly_cargo(&["gc"])
19951993
.env("__CARGO_TEST_LAST_USE_NOW", months_ago_unix(2))
19961994
.run();
19971995
assert_eq!(get_registry_names("src"), ["middle-1.0.0", "new-1.0.0"]);

tests/testsuite/test.rs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4742,10 +4742,7 @@ fn test_dep_with_dev() {
47424742
.run();
47434743
}
47444744

4745-
#[cargo_test(
4746-
nightly,
4747-
reason = "waiting for 1.88 to be stable for doctest xcompile flags"
4748-
)]
4745+
#[cargo_test]
47494746
fn cargo_test_doctest_xcompile_ignores() {
47504747
// Check ignore-TARGET syntax.
47514748
let p = project()
@@ -4782,10 +4779,7 @@ test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; fini
47824779
.run();
47834780
}
47844781

4785-
#[cargo_test(
4786-
nightly,
4787-
reason = "waiting for 1.88 to be stable for doctest xcompile flags"
4788-
)]
4782+
#[cargo_test]
47894783
fn cargo_test_doctest_xcompile_runner() {
47904784
if !cross_compile_can_run_on_host() {
47914785
return;
@@ -4868,10 +4862,7 @@ this is a runner
48684862
.run();
48694863
}
48704864

4871-
#[cargo_test(
4872-
nightly,
4873-
reason = "waiting for 1.88 to be stable for doctest xcompile flags"
4874-
)]
4865+
#[cargo_test]
48754866
fn cargo_test_doctest_xcompile_no_runner() {
48764867
if !cross_compile_can_run_on_host() {
48774868
return;

0 commit comments

Comments
 (0)