@@ -188,6 +188,25 @@ extension](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-an
188
188
are not affected since it automatically downloads and updates releases in the
189
189
background.
190
190
191
+ ### Cargo improvements: workspace inheritance and multi-target builds
192
+
193
+ When working with collections of related libraries or binary crates in one
194
+ Cargo workspace, you can now avoid duplication of common field values between
195
+ crates, such as common version numbers, repository URLs, or ` rust-version ` .
196
+ This also helps keep these values in sync between crates when updating them.
197
+ For more details, see
198
+ [ ` workspace.package ` ] ( https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table ) ,
199
+ [ ` workspace.dependencies ` ] ( https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table ) ,
200
+ and [ "inheriting a dependency from a
201
+ workspace"] ( https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace ) .
202
+
203
+ When building for multiple targets, you can now pass multiple ` --target `
204
+ options to ` cargo build ` , to build all of those targets at once. You can also
205
+ set
206
+ [ ` build.target ` ] ( https://doc.rust-lang.org/cargo/reference/config.html#buildtarget )
207
+ to an array of multiple targets in ` .cargo/config.toml ` to build for multiple
208
+ targets by default.
209
+
191
210
### Stabilized APIs
192
211
193
212
The following methods and trait implementations are now stabilized:
@@ -282,22 +301,6 @@ There are other changes in the Rust 1.64 release, including:
282
301
to make it easier to migrate existing code without having to change tuple
283
302
indices.
284
303
285
- * When working with collections of related libraries or binary crates in one
286
- Cargo workspace, you can now avoid duplication of common field values between
287
- crates, such as common version numbers, repository URLs, or ` rust-version ` .
288
- This also helps keep these values in sync between crates when updating them.
289
- For more details, see
290
- [ ` workspace.package ` ] ( https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table ) ,
291
- [ ` workspace.dependencies ` ] ( https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table ) ,
292
- and [ "inheriting a dependency from a
293
- workspace"] ( https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace ) .
294
-
295
- * When building for multiple targets, you can now pass multiple ` --target `
296
- options to ` cargo build ` , to build all of those targets at once. You can
297
- also set [ ` build.target ` ] ( https://doc.rust-lang.org/cargo/reference/config.html#buildtarget )
298
- to an array of multiple targets in ` .cargo/config.toml ` to build for
299
- multiple targets by default.
300
-
301
304
Check out everything that changed in
302
305
[ Rust] ( https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1640-2022-09-22 ) ,
303
306
[ Cargo] ( https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-164-2022-09-22 ) ,
0 commit comments