Skip to content

Commit b1f49c9

Browse files
committed
Update changelog for 1.64
1 parent 34632c5 commit b1f49c9

File tree

1 file changed

+56
-1
lines changed

1 file changed

+56
-1
lines changed

CHANGELOG.md

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,75 @@
11
# Changelog
22

3+
## Cargo 1.65 (2022-11-03)
4+
[4fd148c4...HEAD](https://github.com/rust-lang/cargo/compare/4fd148c4...HEAD)
5+
6+
### Added
7+
8+
### Changed
9+
10+
- Cargo now uses the standard library's `available_parallelism` instead of the
11+
`num_cpus` crate for determining the default parallelism.
12+
[#10969](https://github.com/rust-lang/cargo/pull/10969)
13+
14+
### Fixed
15+
16+
### Nightly only
17+
18+
319
## Cargo 1.64 (2022-09-22)
4-
[a5e08c47...HEAD](https://github.com/rust-lang/cargo/compare/a5e08c47...HEAD)
20+
[a5e08c47...rust-1.64.0](https://github.com/rust-lang/cargo/compare/a5e08c47...rust-1.64.0)
521

622
### Added
723

24+
- 🎉 Packages can now inherit settings from the workspace so that the settings
25+
can be centralized in one place. See
26+
[`workspace.package`](https://doc.rust-lang.org/nightly/cargo/reference/workspaces.html#the-workspacepackage-table)
27+
and
28+
[`workspace.dependencies`](https://doc.rust-lang.org/nightly/cargo/reference/workspaces.html#the-workspacedependencies-table)
29+
for more details on how to define these common settings.
30+
[#10859](https://github.com/rust-lang/cargo/pull/10859)
31+
- Added the
32+
[`--crate-type`](https://doc.rust-lang.org/nightly/cargo/commands/cargo-rustc.html#option-cargo-rustc---crate-type)
33+
flag to `cargo rustc` to override the crate type.
34+
[#10838](https://github.com/rust-lang/cargo/pull/10838)
35+
- Cargo commands can now accept multiple `--target` flags to build for
36+
multiple targets at once.
37+
[#10766](https://github.com/rust-lang/cargo/pull/10766)
38+
- The `--jobs` argument can now take a negative number to count backwards from
39+
the max CPUs.
40+
[#10844](https://github.com/rust-lang/cargo/pull/10844)
41+
842
### Changed
943
- Bash completion of `cargo install --path` now supports path completion.
1044
[#10798](https://github.com/rust-lang/cargo/pull/10798)
1145
- Significantly improved the performance fetching git dependencies from GitHub
1246
when using a hash in the `rev` field.
1347
[#10079](https://github.com/rust-lang/cargo/pull/10079)
48+
- Published packages will now include the resolver setting from the workspace
49+
to ensure that they use the same resolver when used in isolation.
50+
[#10911](https://github.com/rust-lang/cargo/pull/10911)
51+
[#10961](https://github.com/rust-lang/cargo/pull/10961)
52+
[#10970](https://github.com/rust-lang/cargo/pull/10970)
53+
- `cargo add` will now update `Cargo.lock`.
54+
[#10902](https://github.com/rust-lang/cargo/pull/10902)
55+
- The path in the config output of `cargo vendor` now translates backslashes
56+
to forward slashes so that the settings should work across platforms.
57+
[#10668](https://github.com/rust-lang/cargo/pull/10668)
58+
- The
59+
[`workspace.default-members`](https://doc.rust-lang.org/nightly/cargo/reference/workspaces.html#package-selection)
60+
setting now allows a value of `"."` in a non-virtual workspace to refer to
61+
the root package.
62+
[#10784](https://github.com/rust-lang/cargo/pull/10784)
1463

1564
### Fixed
1665
- The `os` output in `cargo --version --verbose` now supports more platforms.
1766
[#10802](https://github.com/rust-lang/cargo/pull/10802)
67+
- Cached git checkouts will now be rebuilt if they are corrupted. This may
68+
happen when using `net.git-fetch-with-cli` and interrupting the clone
69+
process.
70+
[#10829](https://github.com/rust-lang/cargo/pull/10829)
71+
- Fixed panic in `cargo add --offline`.
72+
[#10817](https://github.com/rust-lang/cargo/pull/10817)
1873

1974

2075
### Nightly only

0 commit comments

Comments
 (0)