|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## Cargo 1.62 (2022-05-19) |
| 4 | +[1ef1e0a1...HEAD](https://github.com/rust-lang/cargo/compare/1ef1e0a1...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | + |
| 8 | +### Changed |
| 9 | + |
| 10 | +- `cargo install` will no longer generate an error if no binaries were found |
| 11 | + to install (such as missing required features). |
| 12 | + [#10508](https://github.com/rust-lang/cargo/pull/10508) |
| 13 | + |
| 14 | +### Fixed |
| 15 | + |
| 16 | +### Nightly only |
| 17 | + |
| 18 | + |
3 | 19 | ## Cargo 1.61 (2022-04-07)
|
4 |
| -[ea2a21c9...HEAD](https://github.com/rust-lang/cargo/compare/ea2a21c9...HEAD) |
| 20 | +[ea2a21c9...rust-1.61.0](https://github.com/rust-lang/cargo/compare/ea2a21c9...rust-1.61.0) |
5 | 21 |
|
6 | 22 | ### Added
|
7 | 23 |
|
8 | 24 | ### Changed
|
9 | 25 |
|
10 | 26 | - `cargo test --no-run` will now display the path to the test executables.
|
11 | 27 | [#10346](https://github.com/rust-lang/cargo/pull/10346)
|
| 28 | +- `cargo tree --duplicates` no longer reports dependencies that are shared |
| 29 | + between the host and the target as duplicates. |
| 30 | + [#10466](https://github.com/rust-lang/cargo/pull/10466) |
| 31 | +- Updated to the 1.4.2 release of libgit2 which brings in several fixes |
| 32 | + [#10442](https://github.com/rust-lang/cargo/pull/10442) |
| 33 | + [#10479](https://github.com/rust-lang/cargo/pull/10479) |
| 34 | +- `cargo vendor` no longer allows multiple values for `--sync`, you must pass |
| 35 | + multiple `--sync` flags instead. |
| 36 | + [#10448](https://github.com/rust-lang/cargo/pull/10448) |
| 37 | +- Warnings are now issued for manifest keys that have mixed both underscore |
| 38 | + and dash variants (such as specifying both `proc_macro` and `proc-macro`) |
| 39 | + [#10316](https://github.com/rust-lang/cargo/pull/10316) |
| 40 | +- Cargo now uses the standard library's `available_parallelism` instead of the |
| 41 | + `num_cpus` crate for determining the default parallelism. |
| 42 | + [#10427](https://github.com/rust-lang/cargo/pull/10427) |
| 43 | +- `cargo search` terms are now highlighted. |
| 44 | + [#10425](https://github.com/rust-lang/cargo/pull/10425) |
12 | 45 |
|
13 | 46 | ### Fixed
|
14 | 47 |
|
| 48 | +- Paths passed to VCS tools like `hg` are now added after `--` to avoid |
| 49 | + conflict with VCS flags. |
| 50 | + [#10483](https://github.com/rust-lang/cargo/pull/10483) |
| 51 | +- Fixed the `http.timeout` configuration value to actually work. |
| 52 | + [#10456](https://github.com/rust-lang/cargo/pull/10456) |
| 53 | +- Fixed issues with `cargo rustc --crate-type` not working in some situations. |
| 54 | + [#10388](https://github.com/rust-lang/cargo/pull/10388) |
| 55 | + |
15 | 56 | ### Nightly only
|
16 | 57 |
|
17 | 58 | - Added `-Z check-cfg-features` to enable compile-time checking of features
|
18 | 59 | [#10408](https://github.com/rust-lang/cargo/pull/10408)
|
19 | 60 | - Added `-Z bindeps` to support binary artifact dependencies (RFC-3028)
|
20 | 61 | [#9992](https://github.com/rust-lang/cargo/pull/9992)
|
| 62 | +- `-Z multitarget` is now supported in the `build.target` config value with an array. |
| 63 | + [#10473](https://github.com/rust-lang/cargo/pull/10473) |
| 64 | +- Added `--keep-going` flag which will continue compilation even if one crate |
| 65 | + fails to compile. |
| 66 | + [#10383](https://github.com/rust-lang/cargo/pull/10383) |
| 67 | +- Start work on inheriting manifest values in a workspace. |
| 68 | + [#10497](https://github.com/rust-lang/cargo/pull/10497) |
| 69 | + [#10517](https://github.com/rust-lang/cargo/pull/10517) |
| 70 | +- Added support for HTTP registries. |
| 71 | + [#10470](https://github.com/rust-lang/cargo/pull/10470) |
| 72 | + [#10064](https://github.com/rust-lang/cargo/pull/10064) |
| 73 | +- Fixed panic when artifact target is used for `[target.'cfg(<target>)'.dependencies]` |
| 74 | + [#10433](https://github.com/rust-lang/cargo/pull/10433) |
| 75 | +- Fixed host flags to pass to build scripts (`-Z target-applies-to-host`) |
| 76 | + [#10395](https://github.com/rust-lang/cargo/pull/10395) |
| 77 | +- Added `-Z check-cfg-features` support for rustdoc |
| 78 | + [#10428](https://github.com/rust-lang/cargo/pull/10428) |
21 | 79 |
|
22 | 80 |
|
23 | 81 | ## Cargo 1.60 (2022-04-07)
|
|
89 | 147 | - `cargo test TEST_FILTER` should no longer build binaries that are explicitly
|
90 | 148 | disabled with `test = false`.
|
91 | 149 | [#10305](https://github.com/rust-lang/cargo/pull/10305)
|
| 150 | +- Fixed regression with `term.verbose` without `term.quiet`, and vice versa. |
| 151 | + [#10429](https://github.com/rust-lang/cargo/pull/10429) |
| 152 | + [#10436](https://github.com/rust-lang/cargo/pull/10436) |
92 | 153 |
|
93 | 154 | ### Nightly only
|
94 | 155 |
|
95 | 156 | - Added `rustflags` option to a profile definition.
|
96 | 157 | [#10217](https://github.com/rust-lang/cargo/pull/10217)
|
97 | 158 | - Changed `--config` to only support dotted keys.
|
98 | 159 | [#10176](https://github.com/rust-lang/cargo/pull/10176)
|
| 160 | +- Fixed profile `rustflags` not being gated in profile overrides. |
| 161 | + [#10411](https://github.com/rust-lang/cargo/pull/10411) |
| 162 | + [#10413](https://github.com/rust-lang/cargo/pull/10413) |
99 | 163 |
|
100 | 164 | ## Cargo 1.59 (2022-02-24)
|
101 | 165 | [7f08ace4...rust-1.59.0](https://github.com/rust-lang/cargo/compare/7f08ace4...rust-1.59.0)
|
|
0 commit comments