Skip to content

Commit 15933cf

Browse files
Update posts/2022-04-07-Rust-1.60.0.md
Co-authored-by: Eric Huss <[email protected]>
1 parent 8f95d6b commit 15933cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

posts/2022-04-07-Rust-1.60.0.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,11 @@ $ cargo build --timings
7171
The report is also copied to `target/cargo-timings/cargo-timing.html`. A report on the release build of Cargo has been put up [here](/images/2022-04-07-timing.html). These reports can be useful for improving build performance.
7272
More information about the timing reports may be found in the [documentation](https://doc.rust-lang.org/nightly/cargo/reference/timings.html).
7373

74-
### Weak feature dependencies in Cargo
74+
### New syntax for Cargo features
7575

76-
Cargo has long supported [features](https://doc.rust-lang.org/cargo/reference/resolver.html#features) along with optional dependencies, as illustrated by the snippet below.
76+
This release introduces two new changes to improve support for [Cargo features](https://doc.rust-lang.org/cargo/reference/features.html) and how they interact with [optional dependencies](https://doc.rust-lang.org/cargo/reference/features.html#optional-dependencies): Namespaced dependencies and weak dependency features.
77+
78+
Cargo has long supported features along with optional dependencies, as illustrated by the snippet below.
7779

7880
```toml
7981
[dependencies]

0 commit comments

Comments
 (0)