|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## Cargo 1.43 (2020-04-23) |
| 4 | +[9d32b7b0...HEAD](https://github.com/rust-lang/cargo/compare/9d32b7b0...HEAD) |
| 5 | + |
| 6 | +### Added |
| 7 | +- 🔥 Profiles may now be specified in config files (and environment variables). |
| 8 | + [#7823](https://github.com/rust-lang/cargo/pull/7823) |
| 9 | + |
| 10 | +### Changed |
| 11 | +- `cargo install --git` now honors workspaces in a git repository. This allows |
| 12 | + workspace settings, like `[patch]`, `[replace]`, or `[profile]` to be used. |
| 13 | + [#7768](https://github.com/rust-lang/cargo/pull/7768) |
| 14 | + |
| 15 | +### Fixed |
| 16 | + |
| 17 | +### Nightly only |
| 18 | +- Added `build.out-dir` config variable to set the output directory. |
| 19 | + [#7810](https://github.com/rust-lang/cargo/pull/7810) |
| 20 | +- Added `-Zjobserver-per-rustc` feature to support improved performance for |
| 21 | + parallel rustc. |
| 22 | + [#7731](https://github.com/rust-lang/cargo/pull/7731) |
| 23 | + |
| 24 | + |
| 25 | + |
3 | 26 | ## Cargo 1.42 (2020-03-12)
|
4 |
| -[0bf7aafe...HEAD](https://github.com/rust-lang/cargo/compare/0bf7aafe...HEAD) |
| 27 | +[0bf7aafe...rust-1.42.0](https://github.com/rust-lang/cargo/compare/0bf7aafe...rust-1.42.0) |
5 | 28 |
|
6 | 29 | ### Added
|
7 | 30 | - Added documentation on git authentication.
|
8 | 31 | [#7658](https://github.com/rust-lang/cargo/pull/7658)
|
9 | 32 | - Bitbucket Pipeline badges are now supported on crates.io.
|
10 | 33 | [#7663](https://github.com/rust-lang/cargo/pull/7663)
|
| 34 | +- `cargo vendor` now accepts the `--versioned-dirs` option to force it to |
| 35 | + always include the version number in each package's directory name. |
| 36 | + [#7631](https://github.com/rust-lang/cargo/pull/7631) |
| 37 | +- The `proc_macro` crate is now automatically added to the extern prelude for |
| 38 | + proc-macro packages. This means that `extern crate proc_macro;` is no longer |
| 39 | + necessary for proc-macros. |
| 40 | + [#7700](https://github.com/rust-lang/cargo/pull/7700) |
11 | 41 |
|
12 | 42 | ### Changed
|
13 | 43 | - Emit a warning if `debug_assertions`, `test`, `proc_macro`, or `feature=` is
|
14 | 44 | used in a `cfg()` expression.
|
15 | 45 | [#7660](https://github.com/rust-lang/cargo/pull/7660)
|
| 46 | +- Large update to the Cargo documentation, adding new chapters on Cargo |
| 47 | + targets, workspaces, and features. |
| 48 | + [#7733](https://github.com/rust-lang/cargo/pull/7733) |
| 49 | +- Windows: `.lib` DLL import libraries are now copied next to the dll for all |
| 50 | + Windows MSVC targets. Previously it was only supported for |
| 51 | + `pc-windows-msvc`. This adds DLL support for `uwp-windows-msvc` targets. |
| 52 | + [#7758](https://github.com/rust-lang/cargo/pull/7758) |
| 53 | +- The `ar` field in the `[target]` configuration is no longer read. It has |
| 54 | + been ignored for over 4 years. |
| 55 | + [#7763](https://github.com/rust-lang/cargo/pull/7763) |
| 56 | +- Bash completion file simplified and updated for latest changes. |
| 57 | + [#7789](https://github.com/rust-lang/cargo/pull/7789) |
| 58 | +- Credentials are only loaded when needed, instead of every Cargo command. |
| 59 | + [#7774](https://github.com/rust-lang/cargo/pull/7774) |
16 | 60 |
|
17 | 61 | ### Fixed
|
18 |
| -- Removed `--offline` empty index check, which was a false positive in some cases. |
| 62 | +- Removed `--offline` empty index check, which was a false positive in some |
| 63 | + cases. |
19 | 64 | [#7655](https://github.com/rust-lang/cargo/pull/7655)
|
| 65 | +- Files and directories starting with a `.` can now be included in a package |
| 66 | + by adding it to the `include` list. |
| 67 | + [#7680](https://github.com/rust-lang/cargo/pull/7680) |
| 68 | +- Fixed `cargo login` removing alternative registry tokens when previous |
| 69 | + entries existed in the credentials file. |
| 70 | + [#7708](https://github.com/rust-lang/cargo/pull/7708) |
| 71 | +- Fixed `cargo vendor` from panicking when used with alternative registries. |
| 72 | + [#7718](https://github.com/rust-lang/cargo/pull/7718) |
| 73 | +- Fixed incorrect explanation in the fingerprint debug log message. |
| 74 | + [#7749](https://github.com/rust-lang/cargo/pull/7749) |
| 75 | +- A `[source]` that is defined multiple times will now result in an error. |
| 76 | + Previously it was randomly picking a source, which could cause |
| 77 | + non-deterministic behavior. |
| 78 | + [#7751](https://github.com/rust-lang/cargo/pull/7751) |
| 79 | +- `dep_kinds` in `cargo metadata` are now de-duplicated. |
| 80 | + [#7756](https://github.com/rust-lang/cargo/pull/7756) |
| 81 | +- Fixed packaging where `Cargo.lock` was listed in `.gitignore` in a |
| 82 | + subdirectory inside a git repository. Previously it was assuming |
| 83 | + `Cargo.lock` was at the root of the repo. |
| 84 | + [#7779](https://github.com/rust-lang/cargo/pull/7779) |
| 85 | +- Partial file transfer errors will now cause an automatic retry. |
| 86 | + [#7788](https://github.com/rust-lang/cargo/pull/7788) |
| 87 | +- Linux: Fixed panic if CPU iowait stat decreases. |
| 88 | + [#7803](https://github.com/rust-lang/cargo/pull/7803) |
| 89 | +- Fixed using the wrong sysroot for detecting host compiler settings when |
| 90 | + `--sysroot` is passed in via `RUSTFLAGS`. |
| 91 | + [#7798](https://github.com/rust-lang/cargo/pull/7798) |
20 | 92 |
|
21 | 93 | ### Nightly only
|
22 |
| - |
| 94 | +- `build-std` now uses `--extern` instead of `--sysroot` to find sysroot |
| 95 | + pacakges. |
| 96 | + [#7699](https://github.com/rust-lang/cargo/pull/7699) |
| 97 | +- Added `--config` command-line option to set config settings. |
| 98 | + [#7649](https://github.com/rust-lang/cargo/pull/7649) |
| 99 | +- Added `include` config setting which allows including another config file. |
| 100 | + [#7649](https://github.com/rust-lang/cargo/pull/7649) |
| 101 | +- Profiles in config files now support any named profile. Previously it was |
| 102 | + limited to dev/release. |
| 103 | + [#7750](https://github.com/rust-lang/cargo/pull/7750) |
23 | 104 |
|
24 | 105 | ## Cargo 1.41 (2020-01-30)
|
25 | 106 | [5da4b4d4...rust-1.41.0](https://github.com/rust-lang/cargo/compare/5da4b4d4...rust-1.41.0)
|
|
0 commit comments