Skip to content

Commit 3d6ab95

Browse files
authored
Nit: Selecting direct minimal versions flag is -Zdirect-minimal-versions (#16)
1 parent bfee117 commit 3d6ab95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ jobs:
5252
#
5353
# This particular check can be difficult to get to succeed as often transitive dependencies may
5454
# be incorrectly specified (e.g., a dependency specifies 1.0 but really requires 1.1.5). There
55-
# is an alternative flag available -Zminimal-direct that uses the minimal versions for direct
56-
# dependencies of this crate, while selecting the maximal versions for the transitive
55+
# is an alternative flag available -Zdirect-minimal-versions that uses the minimal versions for
56+
# direct dependencies of this crate, while selecting the maximal versions for the transitive
5757
# dependencies. Alternatively, you can add a line in your Cargo.toml to artificially increase
5858
# the minimal dependency, which you do with e.g.:
5959
# ```toml
6060
# # for minimal-versions
6161
# [target.'cfg(any())'.dependencies]
62-
# openssl = { version = "0.10.55", optional = true } # needed to allow foo to build with -Zminimal-versions
62+
# openssl = { version = "0.10.55", optional = true } # needed to allow foo to build with -Zminimal-versions
6363
# ```
6464
# The optional = true is necessary in case that dependency isn't otherwise transitively required
6565
# by your library, and the target bit is so that this dependency edge never actually affects

0 commit comments

Comments
 (0)