mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Auto merge of #10983 - ehuss:version-bump, r=weihanglo
Bump to 0.66.0, update changelog
This commit is contained in:
commit
84941490fd
61
CHANGELOG.md
61
CHANGELOG.md
@ -1,20 +1,77 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## Cargo 1.64 (2022-09-22)
|
## Cargo 1.65 (2022-11-03)
|
||||||
[a5e08c47...HEAD](https://github.com/rust-lang/cargo/compare/a5e08c47...HEAD)
|
[4fd148c4...HEAD](https://github.com/rust-lang/cargo/compare/4fd148c4...HEAD)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Cargo now uses the standard library's `available_parallelism` instead of the
|
||||||
|
`num_cpus` crate for determining the default parallelism.
|
||||||
|
[#10969](https://github.com/rust-lang/cargo/pull/10969)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
### Nightly only
|
||||||
|
|
||||||
|
|
||||||
|
## Cargo 1.64 (2022-09-22)
|
||||||
|
[a5e08c47...rust-1.64.0](https://github.com/rust-lang/cargo/compare/a5e08c47...rust-1.64.0)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- 🎉 Packages can now inherit settings from the workspace so that the settings
|
||||||
|
can be centralized in one place. See
|
||||||
|
[`workspace.package`](https://doc.rust-lang.org/nightly/cargo/reference/workspaces.html#the-workspacepackage-table)
|
||||||
|
and
|
||||||
|
[`workspace.dependencies`](https://doc.rust-lang.org/nightly/cargo/reference/workspaces.html#the-workspacedependencies-table)
|
||||||
|
for more details on how to define these common settings.
|
||||||
|
[#10859](https://github.com/rust-lang/cargo/pull/10859)
|
||||||
|
- Added the
|
||||||
|
[`--crate-type`](https://doc.rust-lang.org/nightly/cargo/commands/cargo-rustc.html#option-cargo-rustc---crate-type)
|
||||||
|
flag to `cargo rustc` to override the crate type.
|
||||||
|
[#10838](https://github.com/rust-lang/cargo/pull/10838)
|
||||||
|
- Cargo commands can now accept multiple `--target` flags to build for
|
||||||
|
multiple targets at once, and the
|
||||||
|
[`build.target`](https://doc.rust-lang.org/nightly/cargo/reference/config.html#buildtarget)
|
||||||
|
config option may now take an array of multiple targets.
|
||||||
|
[#10766](https://github.com/rust-lang/cargo/pull/10766)
|
||||||
|
- The `--jobs` argument can now take a negative number to count backwards from
|
||||||
|
the max CPUs.
|
||||||
|
[#10844](https://github.com/rust-lang/cargo/pull/10844)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Bash completion of `cargo install --path` now supports path completion.
|
- Bash completion of `cargo install --path` now supports path completion.
|
||||||
[#10798](https://github.com/rust-lang/cargo/pull/10798)
|
[#10798](https://github.com/rust-lang/cargo/pull/10798)
|
||||||
- Significantly improved the performance fetching git dependencies from GitHub
|
- Significantly improved the performance fetching git dependencies from GitHub
|
||||||
when using a hash in the `rev` field.
|
when using a hash in the `rev` field.
|
||||||
[#10079](https://github.com/rust-lang/cargo/pull/10079)
|
[#10079](https://github.com/rust-lang/cargo/pull/10079)
|
||||||
|
- Published packages will now include the resolver setting from the workspace
|
||||||
|
to ensure that they use the same resolver when used in isolation.
|
||||||
|
[#10911](https://github.com/rust-lang/cargo/pull/10911)
|
||||||
|
[#10961](https://github.com/rust-lang/cargo/pull/10961)
|
||||||
|
[#10970](https://github.com/rust-lang/cargo/pull/10970)
|
||||||
|
- `cargo add` will now update `Cargo.lock`.
|
||||||
|
[#10902](https://github.com/rust-lang/cargo/pull/10902)
|
||||||
|
- The path in the config output of `cargo vendor` now translates backslashes
|
||||||
|
to forward slashes so that the settings should work across platforms.
|
||||||
|
[#10668](https://github.com/rust-lang/cargo/pull/10668)
|
||||||
|
- The
|
||||||
|
[`workspace.default-members`](https://doc.rust-lang.org/nightly/cargo/reference/workspaces.html#package-selection)
|
||||||
|
setting now allows a value of `"."` in a non-virtual workspace to refer to
|
||||||
|
the root package.
|
||||||
|
[#10784](https://github.com/rust-lang/cargo/pull/10784)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- The `os` output in `cargo --version --verbose` now supports more platforms.
|
- The `os` output in `cargo --version --verbose` now supports more platforms.
|
||||||
[#10802](https://github.com/rust-lang/cargo/pull/10802)
|
[#10802](https://github.com/rust-lang/cargo/pull/10802)
|
||||||
|
- Cached git checkouts will now be rebuilt if they are corrupted. This may
|
||||||
|
happen when using `net.git-fetch-with-cli` and interrupting the clone
|
||||||
|
process.
|
||||||
|
[#10829](https://github.com/rust-lang/cargo/pull/10829)
|
||||||
|
- Fixed panic in `cargo add --offline`.
|
||||||
|
[#10817](https://github.com/rust-lang/cargo/pull/10817)
|
||||||
|
|
||||||
|
|
||||||
### Nightly only
|
### Nightly only
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cargo"
|
name = "cargo"
|
||||||
version = "0.65.0"
|
version = "0.66.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
homepage = "https://crates.io"
|
homepage = "https://crates.io"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user