Skip to content

Commit 8494149

Browse files
committed
Auto merge of #10983 - ehuss:version-bump, r=weihanglo
Bump to 0.66.0, update changelog
2 parents efd4ca3 + aae4c84 commit 8494149

File tree

2 files changed

+59
-2
lines changed

2 files changed

+59
-2
lines changed

CHANGELOG.md

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,77 @@
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, and the
37+
[`build.target`](https://doc.rust-lang.org/nightly/cargo/reference/config.html#buildtarget)
38+
config option may now take an array of multiple targets.
39+
[#10766](https://github.com/rust-lang/cargo/pull/10766)
40+
- The `--jobs` argument can now take a negative number to count backwards from
41+
the max CPUs.
42+
[#10844](https://github.com/rust-lang/cargo/pull/10844)
43+
844
### Changed
945
- Bash completion of `cargo install --path` now supports path completion.
1046
[#10798](https://github.com/rust-lang/cargo/pull/10798)
1147
- Significantly improved the performance fetching git dependencies from GitHub
1248
when using a hash in the `rev` field.
1349
[#10079](https://github.com/rust-lang/cargo/pull/10079)
50+
- Published packages will now include the resolver setting from the workspace
51+
to ensure that they use the same resolver when used in isolation.
52+
[#10911](https://github.com/rust-lang/cargo/pull/10911)
53+
[#10961](https://github.com/rust-lang/cargo/pull/10961)
54+
[#10970](https://github.com/rust-lang/cargo/pull/10970)
55+
- `cargo add` will now update `Cargo.lock`.
56+
[#10902](https://github.com/rust-lang/cargo/pull/10902)
57+
- The path in the config output of `cargo vendor` now translates backslashes
58+
to forward slashes so that the settings should work across platforms.
59+
[#10668](https://github.com/rust-lang/cargo/pull/10668)
60+
- The
61+
[`workspace.default-members`](https://doc.rust-lang.org/nightly/cargo/reference/workspaces.html#package-selection)
62+
setting now allows a value of `"."` in a non-virtual workspace to refer to
63+
the root package.
64+
[#10784](https://github.com/rust-lang/cargo/pull/10784)
1465

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

1976

2077
### Nightly only

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo"
3-
version = "0.65.0"
3+
version = "0.66.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
homepage = "https://crates.io"

0 commit comments

Comments
 (0)