|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## Cargo 1.64 (2022-09-22) |
| 4 | +[a5e08c47...HEAD](https://github.com/rust-lang/cargo/compare/a5e08c47...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | + |
| 8 | +### Changed |
| 9 | +- Bash completion of `cargo install --path` now supports path completion. |
| 10 | + [#10798](https://github.com/rust-lang/cargo/pull/10798) |
| 11 | +- Significantly improved the performance fetching git dependencies from GitHub |
| 12 | + when using a hash in the `rev` field. |
| 13 | + [#10079](https://github.com/rust-lang/cargo/pull/10079) |
| 14 | + |
| 15 | +### Fixed |
| 16 | +- The `os` output in `cargo --version --verbose` now supports more platforms. |
| 17 | + [#10802](https://github.com/rust-lang/cargo/pull/10802) |
| 18 | + |
| 19 | + |
| 20 | +### Nightly only |
| 21 | +- Fixed deserialization of unstable `check-cfg` in `config.toml`. |
| 22 | + [#10799](https://github.com/rust-lang/cargo/pull/10799) |
| 23 | + |
| 24 | + |
3 | 25 | ## Cargo 1.63 (2022-08-11)
|
4 |
| -[3f052d8e...HEAD](https://github.com/rust-lang/cargo/compare/3f052d8e...HEAD) |
| 26 | +[3f052d8e...rust-1.63.0](https://github.com/rust-lang/cargo/compare/3f052d8e...rust-1.63.0) |
5 | 27 |
|
6 | 28 | ### Added
|
7 | 29 |
|
| 30 | +- 🎉 Added the `--config` CLI option to pass config options directly on the CLI. |
| 31 | + [#10755](https://github.com/rust-lang/cargo/pull/10755) |
| 32 | +- The `CARGO_PKG_RUST_VERSION` environment variable is now set when compiling |
| 33 | + a crate if the manifest has the `rust-version` field set. |
| 34 | + [#10713](https://github.com/rust-lang/cargo/pull/10713) |
| 35 | + |
| 36 | + |
8 | 37 | ### Changed
|
| 38 | +- A warning is emitted when encountering multiple packages with the same name |
| 39 | + in a git dependency. This will ignore packages with `publish=false`. |
| 40 | + [#10701](https://github.com/rust-lang/cargo/pull/10701) |
| 41 | + [#10767](https://github.com/rust-lang/cargo/pull/10767) |
| 42 | +- Change tracking now uses the contents of a `.json` target spec file instead |
| 43 | + of its path. This should help avoid rebuilds if the path changes. |
| 44 | + [#10746](https://github.com/rust-lang/cargo/pull/10746) |
| 45 | +- Git dependencies with a submodule configured with the `update=none` strategy |
| 46 | + in `.gitmodules` is now honored, and the submodule will not be fetched. |
| 47 | + [#10717](https://github.com/rust-lang/cargo/pull/10717) |
| 48 | +- Crate files now use a more recent date (Jul 23, 2006 instead of Nov 29, 1973) |
| 49 | + for deterministic behavior. |
| 50 | + [#10720](https://github.com/rust-lang/cargo/pull/10720) |
| 51 | +- The initial template used for `cargo new` now includes a slightly more |
| 52 | + realistic test structure that has `use super::*;` in the test module. |
| 53 | + [#10706](https://github.com/rust-lang/cargo/pull/10706) |
| 54 | +- Updated the internal HTTP library libcurl with various small fixes and updates. |
| 55 | + [#10696](https://github.com/rust-lang/cargo/pull/10696) |
9 | 56 |
|
10 | 57 | ### Fixed
|
| 58 | +- Fix zsh completions for `cargo add` and `cargo locate-project` |
| 59 | + [#10810](https://github.com/rust-lang/cargo/pull/10810) |
| 60 | + [#10811](https://github.com/rust-lang/cargo/pull/10811) |
| 61 | +- Fixed `-p` being ignored with `cargo publish` in the root of a virtual |
| 62 | + workspace. Some additional checks were also added to generate an error if |
| 63 | + multiple packages were selected (previously it would pick the first one). |
| 64 | + [#10677](https://github.com/rust-lang/cargo/pull/10677) |
| 65 | +- The human-readable executable name is no longer displayed for `cargo test` |
| 66 | + when using JSON output. |
| 67 | + [#10691](https://github.com/rust-lang/cargo/pull/10691) |
11 | 68 |
|
12 | 69 | ### Nightly only
|
13 | 70 |
|
14 | 71 | - Added `-Zcheck-cfg=output` to support build-scripts declaring their
|
15 | 72 | supported set of `cfg` values with `cargo:rustc-check-cfg`.
|
16 | 73 | [#10539](https://github.com/rust-lang/cargo/pull/10539)
|
| 74 | +- `-Z http-registry` now uses https://index.crates.io/ when accessing crates-io. |
| 75 | + [#10725](https://github.com/rust-lang/cargo/pull/10725) |
| 76 | +- Fixed formatting of `.workspace` key in `cargo add` for workspace inheritance. |
| 77 | + [#10705](https://github.com/rust-lang/cargo/pull/10705) |
| 78 | +- Sparse HTTP registry URLs must now end with a `/`. |
| 79 | + [#10698](https://github.com/rust-lang/cargo/pull/10698) |
| 80 | +- Fixed issue with `cargo add` and workspace inheritance of the `default-features` key. |
| 81 | + [#10685](https://github.com/rust-lang/cargo/pull/10685) |
| 82 | + |
17 | 83 |
|
18 | 84 |
|
19 | 85 | ## Cargo 1.62 (2022-06-30)
|
|
78 | 144 | - The `build.dep-info-basedir` configuration setting now properly supports the
|
79 | 145 | use of `..` in the path to refer to a parent directory.
|
80 | 146 | [#10281](https://github.com/rust-lang/cargo/pull/10281)
|
| 147 | +- Fixed regression in automatic detection of the default number of CPUs to use |
| 148 | + on systems using cgroups v1. |
| 149 | + [#10737](https://github.com/rust-lang/cargo/pull/10737) |
| 150 | + [#10739](https://github.com/rust-lang/cargo/pull/10739) |
81 | 151 |
|
82 | 152 |
|
83 | 153 | ### Nightly only
|
|
0 commit comments