|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## Cargo 1.70 (2023-06-01) |
| 4 | +[9880b408...HEAD](https://github.com/rust-lang/cargo/compare/9880b408...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | + |
| 8 | +- The `CARGO_PKG_README` environment variable is now set to the path to the |
| 9 | + README file when compiling a crate. |
| 10 | + [#11645](https://github.com/rust-lang/cargo/pull/11645) |
| 11 | +- Cargo now displays richer information of Cargo target failed to compile. |
| 12 | + [#11636](https://github.com/rust-lang/cargo/pull/11636) |
| 13 | + |
| 14 | +### Changed |
| 15 | + |
| 16 | +- 🎉 The `sparse` protocol is now the default protocol for crates.io! |
| 17 | + ([RFC 2789](https://github.com/rust-lang/rfcs/blob/master/text/2789-sparse-index.md)) |
| 18 | + ([docs](https://doc.rust-lang.org/nightly/cargo/reference/registries.html#registry-protocols)) |
| 19 | + [#11791](https://github.com/rust-lang/cargo/pull/11791) |
| 20 | + [#11783](https://github.com/rust-lang/cargo/pull/11783) |
| 21 | +- Enhanced the documentation of timing report with graphs. |
| 22 | + [#11798](https://github.com/rust-lang/cargo/pull/11798) |
| 23 | +- Switched to `sha2` calculate SHA256 internally. |
| 24 | + [#11795](https://github.com/rust-lang/cargo/pull/11795) |
| 25 | + [#11807](https://github.com/rust-lang/cargo/pull/11807) |
| 26 | +- Updated `base64` to `0.21.0` internally. |
| 27 | + [#11796](https://github.com/rust-lang/cargo/pull/11796) |
| 28 | +- Cargo the project itself integrated `cargo-deny` in its CI pipeline. |
| 29 | + [#11761](https://github.com/rust-lang/cargo/pull/11761) |
| 30 | + |
| 31 | +### Fixed |
| 32 | + |
| 33 | +- Removed duplicates of possible values in `--charset` option of `cargo tree`. |
| 34 | + [#11785](https://github.com/rust-lang/cargo/pull/11785) |
| 35 | +- Fixed `CARGO_CFG_` vars for configs defined both with and without value. |
| 36 | + [#11790](https://github.com/rust-lang/cargo/pull/11790) |
| 37 | +- Broke endless loop on cyclic features in added dependency in `cargo add`. |
| 38 | + [#11805](https://github.com/rust-lang/cargo/pull/11805) |
| 39 | +- Don't panic when [`patch`] involved in dependency resolution results in a conflict. |
| 40 | + [#11770](https://github.com/rust-lang/cargo/pull/11770) |
| 41 | + |
| 42 | +### Nightly only |
| 43 | + |
| 44 | +- Added `-Zdirect-minimal-versions`. This behaves like `-Zminimal-versions` but |
| 45 | + only for direct dependencies. |
| 46 | + ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#direct-minimal-versions)) |
| 47 | + [#11688](https://github.com/rust-lang/cargo/pull/11688) |
| 48 | +- Added `-Zgitoxide` which switches all `git fetch` operation in Cargo to |
| 49 | + use `gitoxide` crate. This is still an MVP but could improve the performance |
| 50 | + up to 2 times. |
| 51 | + ([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html##gitoxide)) |
| 52 | + [#11448](https://github.com/rust-lang/cargo/pull/11448) |
| 53 | + [#11800](https://github.com/rust-lang/cargo/pull/11800) |
| 54 | +- Removed `-Zjobserver-per-rustc`. Its rustc counterpart never got landed. |
| 55 | + [#11764](https://github.com/rust-lang/cargo/pull/11764) |
| 56 | + |
3 | 57 | ## Cargo 1.69 (2023-04-20) |
4 | 58 | [985d561f...rust-1.69.0](https://github.com/rust-lang/cargo/compare/985d561f...rust-1.69.0) |
5 | 59 |
|
|
0 commit comments