From 4dccac6a4ae93cc2080c016a11d0241d164b1a99 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Wed, 8 Mar 2023 21:46:33 +0000 Subject: [PATCH 1/7] Bump to 0.71.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c26375c8d3e..46961ab33cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo" -version = "0.70.0" +version = "0.71.0" edition = "2021" license = "MIT OR Apache-2.0" homepage = "https://crates.io" From d13403abba5436efcdaffb1983f12a33eebb25ed Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Thu, 9 Mar 2023 12:55:38 +0000 Subject: [PATCH 2/7] Update changelog for 1.69 --- CHANGELOG.md | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 78 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa5e3cd997b..f2af4494334 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,23 @@ # Changelog ## Cargo 1.69 (2023-04-20) -[985d561f...HEAD](https://github.com/rust-lang/cargo/compare/985d561f...HEAD) +[985d561f...rust-1.69.0](https://github.com/rust-lang/cargo/compare/985d561f...rust-1.69.0) ### Added +- Added `-C` flag for changing current dir before build starts. + [#10952](https://github.com/rust-lang/cargo/pull/10952) +- Added `-F` flag as a short alias for `--features` in build commands. + [#11774](https://github.com/rust-lang/cargo/pull/11774) +- Added support for SSH known hosts marker `@revoked`. + [#11635](https://github.com/rust-lang/cargo/pull/11635) - Cargo now suggests `cargo fix` or `cargo clippy --fix` - when compilation warnings/errors can be auto-fixed. + when compilation warnings/errors are auto-fixable. [#11558](https://github.com/rust-lang/cargo/pull/11558) +- Cargo now suggests `cargo add` if you try to install a library crate. + [#11410](https://github.com/rust-lang/cargo/pull/11410) +- Cargo now sets `CARGO_BIN_NAME` environment variable also for binary examples. + [#11705](https://github.com/rust-lang/cargo/pull/11705) ### Changed @@ -15,26 +25,90 @@ and an inherited dependency of a member has `default-features = true`, Cargo will enable default features of that dependency. [#11409](https://github.com/rust-lang/cargo/pull/11409) +- ❗ Deny `CARGO_HOME` in `[env]` configuration stable. Cargo itself doesn't + pick up this value, but recursive calls to cargo will. We consider it as a + wrong behavior to only pass it to recursive invocations. + [#11644](https://github.com/rust-lang/cargo/pull/11644) +- ❗ Debuginfo for build dependencies is now off if not explicit set. This is + expected to boost the overall build time. + [#11252](https://github.com/rust-lang/cargo/pull/11252) +- Cargo now emits errors on invalid alphanumeric token for crates.io. + [#11600](https://github.com/rust-lang/cargo/pull/11600) - `cargo add` now checks only the order of `[dependencies]` without considering `[dependencies.*]`. [#11612](https://github.com/rust-lang/cargo/pull/11612) +- Cargo now respects the new jobserver IPC style in GNU Make 4.4, by updating + its dependency `jobserver`. + [#11767](https://github.com/rust-lang/cargo/pull/11767) +- `cargo install` now reports required features when no binary meets its requirements. + [#11647](https://github.com/rust-lang/cargo/pull/11647) +- Consolidated how Cargo reads environments variables internally. + [#11727](https://github.com/rust-lang/cargo/pull/11727) + [#11754](https://github.com/rust-lang/cargo/pull/11754) +- Updated to `toml` v0.6 and `toml_edit` v0.18 for TOML manipulations. + [#11618](https://github.com/rust-lang/cargo/pull/11618) +- Replaced `winapi` with `windows-sys` crate for Windows bindings. + [#11656](https://github.com/rust-lang/cargo/pull/11656) +- Reused `url` crate for percent encoding instead of `percent-encoding`. + [#11750](https://github.com/rust-lang/cargo/pull/11750) +- Cargo contributors can use smart punctuations when writing documentations, + e.g., `---` for em dashes. + [#11646](https://github.com/rust-lang/cargo/pull/11646) + [#11715](https://github.com/rust-lang/cargo/pull/11715) +- Cargo's own CI pipeline now covers macOS on nightly. + [#11712](https://github.com/rust-lang/cargo/pull/11712) +- Cargo the project itself starts re-enabling some clippy lints. + [#11722](https://github.com/rust-lang/cargo/pull/11722) +- Pull requests in Cargo now get autolabelled for label `A-*` and `Command-*`. + [#11679](https://github.com/rust-lang/cargo/pull/11679) + [#11664](https://github.com/rust-lang/cargo/pull/11664) - Several documentation improvements. [#11576](https://github.com/rust-lang/cargo/pull/11576) [#11604](https://github.com/rust-lang/cargo/pull/11604) [#11620](https://github.com/rust-lang/cargo/pull/11620) [#11603](https://github.com/rust-lang/cargo/pull/11603) + [#11652](https://github.com/rust-lang/cargo/pull/11652) + [#11655](https://github.com/rust-lang/cargo/pull/11655) + [#11669](https://github.com/rust-lang/cargo/pull/11669) + [#11675](https://github.com/rust-lang/cargo/pull/11675) + [#11676](https://github.com/rust-lang/cargo/pull/11676) + [#11701](https://github.com/rust-lang/cargo/pull/11701) + [#11703](https://github.com/rust-lang/cargo/pull/11703) + [#11711](https://github.com/rust-lang/cargo/pull/11711) + [#11748](https://github.com/rust-lang/cargo/pull/11748) + [#11758](https://github.com/rust-lang/cargo/pull/11758) + [#11763](https://github.com/rust-lang/cargo/pull/11763) ### Fixed +- Uplifted `.dwp` DWARF package file next to the executable for debuggers to + locate them. + [#11572](https://github.com/rust-lang/cargo/pull/11572) - Fixed build scripts triggering recompiles when a `rerun-if-changed` points to a directory whose mtime is not preserved by the filesystem. [#11613](https://github.com/rust-lang/cargo/pull/11613) - Fixed panics when using dependencies from `[workspace.dependencies]` for `[patch]`. This usage is not supposed to be supported. [#11565](https://github.com/rust-lang/cargo/pull/11565) + [#11630](https://github.com/rust-lang/cargo/pull/11630) +- Fixed `cargo report` saving the same future-incompat reports multiple times. + [#11648](https://github.com/rust-lang/cargo/pull/11648) +- Fixed the incorrect inference of a directory ending with `.rs` as a file. + [#11678](https://github.com/rust-lang/cargo/pull/11678) +- Fixed `.cargo-ok` file being truncated wrongly, preventing from using a dependency. + [#11665](https://github.com/rust-lang/cargo/pull/11665) + [#11724](https://github.com/rust-lang/cargo/pull/11724) ### Nightly only +- `-Zrustdoc-scrape-example` must fail with bad build script. + [#11694](https://github.com/rust-lang/cargo/pull/11694) +- Updated 1password credential manager integration to the version 2 CLI. + [#11692](https://github.com/rust-lang/cargo/pull/11692) +- Emit an error message for transitive artifact dependencies with targets the + package doesn't directly interact with. + [#11643](https://github.com/rust-lang/cargo/pull/11643) + ## Cargo 1.68 (2023-03-09) [f6e737b1...rust-1.68.0](https://github.com/rust-lang/cargo/compare/f6e737b1...rust-1.68.0) @@ -46,6 +120,8 @@ ([docs](https://doc.rust-lang.org/nightly/cargo/reference/registries.html#registry-protocols)) [#11224](https://github.com/rust-lang/cargo/pull/11224) [#11480](https://github.com/rust-lang/cargo/pull/11480) + [#11733](https://github.com/rust-lang/cargo/pull/11733) + [#11756](https://github.com/rust-lang/cargo/pull/11756) - 🎉 `home` crate is now a subcrate in `rust-lang/cargo` repository. Welcome! [#11359](https://github.com/rust-lang/cargo/pull/11359) [#11481](https://github.com/rust-lang/cargo/pull/11481) From ac5a799154f18f157e71b800db98bdb59da44f77 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Thu, 9 Mar 2023 12:59:03 +0000 Subject: [PATCH 3/7] Update changelog for 1.70 --- CHANGELOG.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2af4494334..a1ae6f4b1e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,59 @@ # Changelog +## Cargo 1.70 (2023-06-01) +[9880b408...HEAD](https://github.com/rust-lang/cargo/compare/9880b408...HEAD) + +### Added + +- The `CARGO_PKG_README` environment variable is now set to the path to the + README file when compiling a crate. + [#11645](https://github.com/rust-lang/cargo/pull/11645) +- Cargo now displays richer information of Cargo target failed to compile. + [#11636](https://github.com/rust-lang/cargo/pull/11636) + +### Changed + +- 🎉 The `sparse` protocol is now the default protocol for crates.io! + ([RFC 2789](https://github.com/rust-lang/rfcs/blob/master/text/2789-sparse-index.md)) + ([docs](https://doc.rust-lang.org/nightly/cargo/reference/registries.html#registry-protocols)) + [#11791](https://github.com/rust-lang/cargo/pull/11791) + [#11783](https://github.com/rust-lang/cargo/pull/11783) +- Enhanced the documentation of timing report with graphs. + [#11798](https://github.com/rust-lang/cargo/pull/11798) +- Switched to `sha2` calculate SHA256 internally. + [#11795](https://github.com/rust-lang/cargo/pull/11795) + [#11807](https://github.com/rust-lang/cargo/pull/11807) +- Updated `base64` to `0.21.0` internally. + [#11796](https://github.com/rust-lang/cargo/pull/11796) +- Cargo the project itself integrated `cargo-deny` in its CI pipeline. + [#11761](https://github.com/rust-lang/cargo/pull/11761) + +### Fixed + +- Removed duplicates of possible values in `--charset` option of `cargo tree`. + [#11785](https://github.com/rust-lang/cargo/pull/11785) +- Fixed `CARGO_CFG_` vars for configs defined both with and without value. + [#11790](https://github.com/rust-lang/cargo/pull/11790) +- Broke endless loop on cyclic features in added dependency in `cargo add`. + [#11805](https://github.com/rust-lang/cargo/pull/11805) +- Don't panic when [`patch`] involved in dependency resolution results in a conflict. + [#11770](https://github.com/rust-lang/cargo/pull/11770) + +### Nightly only + +- Added `-Zdirect-minimal-versions`. This behaves like `-Zminimal-versions` but + only for direct dependencies. + ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#direct-minimal-versions)) + [#11688](https://github.com/rust-lang/cargo/pull/11688) +- Added `-Zgitoxide` which switches all `git fetch` operation in Cargo to + use `gitoxide` crate. This is still an MVP but could improve the performance + up to 2 times. + ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html##gitoxide)) + [#11448](https://github.com/rust-lang/cargo/pull/11448) + [#11800](https://github.com/rust-lang/cargo/pull/11800) +- Removed `-Zjobserver-per-rustc`. Its rustc counterpart never got landed. + [#11764](https://github.com/rust-lang/cargo/pull/11764) + ## Cargo 1.69 (2023-04-20) [985d561f...rust-1.69.0](https://github.com/rust-lang/cargo/compare/985d561f...rust-1.69.0) From 2d36e8c9eb5cae5406e107d9943d06fcbf1630f6 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Thu, 9 Mar 2023 13:39:57 +0000 Subject: [PATCH 4/7] Add doc/internal sections for 1.69 changelog --- CHANGELOG.md | 113 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 75 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1ae6f4b1e8..61b289f6e78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,8 +61,6 @@ - Added `-C` flag for changing current dir before build starts. [#10952](https://github.com/rust-lang/cargo/pull/10952) -- Added `-F` flag as a short alias for `--features` in build commands. - [#11774](https://github.com/rust-lang/cargo/pull/11774) - Added support for SSH known hosts marker `@revoked`. [#11635](https://github.com/rust-lang/cargo/pull/11635) - Cargo now suggests `cargo fix` or `cargo clippy --fix` @@ -96,42 +94,6 @@ [#11767](https://github.com/rust-lang/cargo/pull/11767) - `cargo install` now reports required features when no binary meets its requirements. [#11647](https://github.com/rust-lang/cargo/pull/11647) -- Consolidated how Cargo reads environments variables internally. - [#11727](https://github.com/rust-lang/cargo/pull/11727) - [#11754](https://github.com/rust-lang/cargo/pull/11754) -- Updated to `toml` v0.6 and `toml_edit` v0.18 for TOML manipulations. - [#11618](https://github.com/rust-lang/cargo/pull/11618) -- Replaced `winapi` with `windows-sys` crate for Windows bindings. - [#11656](https://github.com/rust-lang/cargo/pull/11656) -- Reused `url` crate for percent encoding instead of `percent-encoding`. - [#11750](https://github.com/rust-lang/cargo/pull/11750) -- Cargo contributors can use smart punctuations when writing documentations, - e.g., `---` for em dashes. - [#11646](https://github.com/rust-lang/cargo/pull/11646) - [#11715](https://github.com/rust-lang/cargo/pull/11715) -- Cargo's own CI pipeline now covers macOS on nightly. - [#11712](https://github.com/rust-lang/cargo/pull/11712) -- Cargo the project itself starts re-enabling some clippy lints. - [#11722](https://github.com/rust-lang/cargo/pull/11722) -- Pull requests in Cargo now get autolabelled for label `A-*` and `Command-*`. - [#11679](https://github.com/rust-lang/cargo/pull/11679) - [#11664](https://github.com/rust-lang/cargo/pull/11664) -- Several documentation improvements. - [#11576](https://github.com/rust-lang/cargo/pull/11576) - [#11604](https://github.com/rust-lang/cargo/pull/11604) - [#11620](https://github.com/rust-lang/cargo/pull/11620) - [#11603](https://github.com/rust-lang/cargo/pull/11603) - [#11652](https://github.com/rust-lang/cargo/pull/11652) - [#11655](https://github.com/rust-lang/cargo/pull/11655) - [#11669](https://github.com/rust-lang/cargo/pull/11669) - [#11675](https://github.com/rust-lang/cargo/pull/11675) - [#11676](https://github.com/rust-lang/cargo/pull/11676) - [#11701](https://github.com/rust-lang/cargo/pull/11701) - [#11703](https://github.com/rust-lang/cargo/pull/11703) - [#11711](https://github.com/rust-lang/cargo/pull/11711) - [#11748](https://github.com/rust-lang/cargo/pull/11748) - [#11758](https://github.com/rust-lang/cargo/pull/11758) - [#11763](https://github.com/rust-lang/cargo/pull/11763) ### Fixed @@ -153,6 +115,81 @@ [#11665](https://github.com/rust-lang/cargo/pull/11665) [#11724](https://github.com/rust-lang/cargo/pull/11724) +### Documentation improvements + +- Clarified the difference between `CARGO_CRATE_NAME` and `CARGO_PKG_NAME`. + [#11576](https://github.com/rust-lang/cargo/pull/11576) +- Added links to the Target section of the glossary for occurences of target triple. + [#11603](https://github.com/rust-lang/cargo/pull/11603) +- Described how the current resolver sometimes duplicates depenencies. + [#11604](https://github.com/rust-lang/cargo/pull/11604) +- Added a note about verifying your email address on crates.io. + [#11620](https://github.com/rust-lang/cargo/pull/11620) +- Mention current default value in `publish.timeout` docs. + [#11652](https://github.com/rust-lang/cargo/pull/11652) +- More doc comments for `cargo::core::compiler` modules. + [#11669](https://github.com/rust-lang/cargo/pull/11669) + [#11703](https://github.com/rust-lang/cargo/pull/11703) + [#11711](https://github.com/rust-lang/cargo/pull/11711) + [#11758](https://github.com/rust-lang/cargo/pull/11758) +- Added more guidance on how to implement unstable features. + [#11675](https://github.com/rust-lang/cargo/pull/11675) +- Fixed unstable chapter layout for `codegen-backend`. + [#11676](https://github.com/rust-lang/cargo/pull/11676) +- Add a link to LTO doc. + [#11701](https://github.com/rust-lang/cargo/pull/11701) +- Added documentation for the configuration discovery of `cargo install` + to the man pages + [#11763](https://github.com/rust-lang/cargo/pull/11763) +- Documented `-F` flag as an alias for `--features` in `cargo add`. + [#11774](https://github.com/rust-lang/cargo/pull/11774) + +### Internal improvements + +- Disable network SSH tests on Windows. + [#11610](https://github.com/rust-lang/cargo/pull/11610) +- Made some blocking tests non-blocking. + [#11650](https://github.com/rust-lang/cargo/pull/11650) +- Deny warnings in CI, not locally. + [#11699](https://github.com/rust-lang/cargo/pull/11699) +- Re-export `cargo_new::NewProjectKind` as public. + [#11700](https://github.com/rust-lang/cargo/pull/11700) +- Made dependencies in alphabetical order. + [#11719](https://github.com/rust-lang/cargo/pull/11719) +- Switched some tests from `build` to `check`. + [#11725](https://github.com/rust-lang/cargo/pull/11725) +- Consolidated how Cargo reads environments variables internally. + [#11727](https://github.com/rust-lang/cargo/pull/11727) + [#11754](https://github.com/rust-lang/cargo/pull/11754) +- Fixed tests with nondeterministic ordering + [#11766](https://github.com/rust-lang/cargo/pull/11766) +- Added a test to verify the intermediate artifacts persist in the temp directory. + [#11771](https://github.com/rust-lang/cargo/pull/11771) +- Updated cross test instructions for aarch64-apple-darwin. + [#11663](https://github.com/rust-lang/cargo/pull/11663) +- Updated to `toml` v0.6 and `toml_edit` v0.18 for TOML manipulations. + [#11618](https://github.com/rust-lang/cargo/pull/11618) +- Updated to `clap` v4.1.3. + [#11619](https://github.com/rust-lang/cargo/pull/11619) +- Replaced `winapi` with `windows-sys` crate for Windows bindings. + [#11656](https://github.com/rust-lang/cargo/pull/11656) +- Reused `url` crate for percent encoding instead of `percent-encoding`. + [#11750](https://github.com/rust-lang/cargo/pull/11750) +- Cargo contributors can benefit from smart punctuations when writing + documentations, e.g., `---` is auto-converted into an em dash. + ([docs](https://rust-lang.github.io/mdBook/format/markdown.html#smart-punctuation)) + [#11646](https://github.com/rust-lang/cargo/pull/11646) + [#11715](https://github.com/rust-lang/cargo/pull/11715) +- Cargo's CI pipeline now covers macOS on nightly. + [#11712](https://github.com/rust-lang/cargo/pull/11712) +- Re-enabled some clippy lints in Cargo itself. + [#11722](https://github.com/rust-lang/cargo/pull/11722) +- Enabled sparse protocol in Cargo's CI. + [#11632](https://github.com/rust-lang/cargo/pull/11632) +- Pull requests in Cargo now get autolabelled for label `A-*` and `Command-*`. + [#11664](https://github.com/rust-lang/cargo/pull/11664) + [#11679](https://github.com/rust-lang/cargo/pull/11679) + ### Nightly only - `-Zrustdoc-scrape-example` must fail with bad build script. From 140ed0f12b3fcf9bfa6bdb1777c7af1551ec93f4 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Thu, 9 Mar 2023 13:30:00 +0000 Subject: [PATCH 5/7] Add doc/internal sections for 1.70 changelog --- CHANGELOG.md | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61b289f6e78..78a5e5636c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,15 +18,6 @@ ([docs](https://doc.rust-lang.org/nightly/cargo/reference/registries.html#registry-protocols)) [#11791](https://github.com/rust-lang/cargo/pull/11791) [#11783](https://github.com/rust-lang/cargo/pull/11783) -- Enhanced the documentation of timing report with graphs. - [#11798](https://github.com/rust-lang/cargo/pull/11798) -- Switched to `sha2` calculate SHA256 internally. - [#11795](https://github.com/rust-lang/cargo/pull/11795) - [#11807](https://github.com/rust-lang/cargo/pull/11807) -- Updated `base64` to `0.21.0` internally. - [#11796](https://github.com/rust-lang/cargo/pull/11796) -- Cargo the project itself integrated `cargo-deny` in its CI pipeline. - [#11761](https://github.com/rust-lang/cargo/pull/11761) ### Fixed @@ -39,6 +30,23 @@ - Don't panic when [`patch`] involved in dependency resolution results in a conflict. [#11770](https://github.com/rust-lang/cargo/pull/11770) +### Documentation improvements + +- Cleaned-up unstable documentation. + [#11793](https://github.com/rust-lang/cargo/pull/11793) +- Enhanced the documentation of timing report with graphs. + [#11798](https://github.com/rust-lang/cargo/pull/11798) + +### Internal improvements + +- Switched to `sha2` crate for SHA256 calculation. + [#11795](https://github.com/rust-lang/cargo/pull/11795) + [#11807](https://github.com/rust-lang/cargo/pull/11807) +- Updated to `base64` v0.21.0. + [#11796](https://github.com/rust-lang/cargo/pull/11796) +- Integrated `cargo-deny` in Cargo its own CI pipeline. + [#11761](https://github.com/rust-lang/cargo/pull/11761) + ### Nightly only - Added `-Zdirect-minimal-versions`. This behaves like `-Zminimal-versions` but From 821db0971c31c9f8d84925fbcc63487c12192016 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Thu, 9 Mar 2023 14:56:39 +0000 Subject: [PATCH 6/7] move nightly only up above doc/internal improvements --- CHANGELOG.md | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78a5e5636c1..4f981329936 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,21 @@ - Don't panic when [`patch`] involved in dependency resolution results in a conflict. [#11770](https://github.com/rust-lang/cargo/pull/11770) +### Nightly only + +- Added `-Zdirect-minimal-versions`. This behaves like `-Zminimal-versions` but + only for direct dependencies. + ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#direct-minimal-versions)) + [#11688](https://github.com/rust-lang/cargo/pull/11688) +- Added `-Zgitoxide` which switches all `git fetch` operation in Cargo to + use `gitoxide` crate. This is still an MVP but could improve the performance + up to 2 times. + ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html##gitoxide)) + [#11448](https://github.com/rust-lang/cargo/pull/11448) + [#11800](https://github.com/rust-lang/cargo/pull/11800) +- Removed `-Zjobserver-per-rustc`. Its rustc counterpart never got landed. + [#11764](https://github.com/rust-lang/cargo/pull/11764) + ### Documentation improvements - Cleaned-up unstable documentation. @@ -47,21 +62,6 @@ - Integrated `cargo-deny` in Cargo its own CI pipeline. [#11761](https://github.com/rust-lang/cargo/pull/11761) -### Nightly only - -- Added `-Zdirect-minimal-versions`. This behaves like `-Zminimal-versions` but - only for direct dependencies. - ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#direct-minimal-versions)) - [#11688](https://github.com/rust-lang/cargo/pull/11688) -- Added `-Zgitoxide` which switches all `git fetch` operation in Cargo to - use `gitoxide` crate. This is still an MVP but could improve the performance - up to 2 times. - ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html##gitoxide)) - [#11448](https://github.com/rust-lang/cargo/pull/11448) - [#11800](https://github.com/rust-lang/cargo/pull/11800) -- Removed `-Zjobserver-per-rustc`. Its rustc counterpart never got landed. - [#11764](https://github.com/rust-lang/cargo/pull/11764) - ## Cargo 1.69 (2023-04-20) [985d561f...rust-1.69.0](https://github.com/rust-lang/cargo/compare/985d561f...rust-1.69.0) @@ -123,6 +123,16 @@ [#11665](https://github.com/rust-lang/cargo/pull/11665) [#11724](https://github.com/rust-lang/cargo/pull/11724) +### Nightly only + +- `-Zrustdoc-scrape-example` must fail with bad build script. + [#11694](https://github.com/rust-lang/cargo/pull/11694) +- Updated 1password credential manager integration to the version 2 CLI. + [#11692](https://github.com/rust-lang/cargo/pull/11692) +- Emit an error message for transitive artifact dependencies with targets the + package doesn't directly interact with. + [#11643](https://github.com/rust-lang/cargo/pull/11643) + ### Documentation improvements - Clarified the difference between `CARGO_CRATE_NAME` and `CARGO_PKG_NAME`. @@ -198,16 +208,6 @@ [#11664](https://github.com/rust-lang/cargo/pull/11664) [#11679](https://github.com/rust-lang/cargo/pull/11679) -### Nightly only - -- `-Zrustdoc-scrape-example` must fail with bad build script. - [#11694](https://github.com/rust-lang/cargo/pull/11694) -- Updated 1password credential manager integration to the version 2 CLI. - [#11692](https://github.com/rust-lang/cargo/pull/11692) -- Emit an error message for transitive artifact dependencies with targets the - package doesn't directly interact with. - [#11643](https://github.com/rust-lang/cargo/pull/11643) - ## Cargo 1.68 (2023-03-09) [f6e737b1...rust-1.68.0](https://github.com/rust-lang/cargo/compare/f6e737b1...rust-1.68.0) From 60df49d6e4306017996e5fad98e51f518b3e4702 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Thu, 9 Mar 2023 15:14:42 +0000 Subject: [PATCH 7/7] Make section headers a bit shorter * Documentation improvements -> Documentation * Internal improvements -> Internal --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f981329936..76df793ccfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,14 +45,14 @@ - Removed `-Zjobserver-per-rustc`. Its rustc counterpart never got landed. [#11764](https://github.com/rust-lang/cargo/pull/11764) -### Documentation improvements +### Documentation - Cleaned-up unstable documentation. [#11793](https://github.com/rust-lang/cargo/pull/11793) - Enhanced the documentation of timing report with graphs. [#11798](https://github.com/rust-lang/cargo/pull/11798) -### Internal improvements +### Internal - Switched to `sha2` crate for SHA256 calculation. [#11795](https://github.com/rust-lang/cargo/pull/11795) @@ -133,7 +133,7 @@ package doesn't directly interact with. [#11643](https://github.com/rust-lang/cargo/pull/11643) -### Documentation improvements +### Documentation - Clarified the difference between `CARGO_CRATE_NAME` and `CARGO_PKG_NAME`. [#11576](https://github.com/rust-lang/cargo/pull/11576) @@ -162,7 +162,7 @@ - Documented `-F` flag as an alias for `--features` in `cargo add`. [#11774](https://github.com/rust-lang/cargo/pull/11774) -### Internal improvements +### Internal - Disable network SSH tests on Windows. [#11610](https://github.com/rust-lang/cargo/pull/11610)