@@ -111,14 +111,20 @@ Furthermore, we want the feedback to provide guidance as to how the
111
111
` unwary ` maintainer can address the issue. Here are some potential
112
112
forms this additional guidance could take.
113
113
114
- * If cargo is not running in "offline mode", it can take the
115
- future-incompatibilty signaling as an opportunity to query
116
- ` crates.io ` to find out if a newer version of the upstream crate is
117
- available, and if so, suggest to the user they might upgrade to it.
114
+ * cargo could respond to the future-incompatibilty signaling by querying
115
+ the local index to find out if a newer version of the upstream crate is
116
+ available. If a newer version is available, then it could
117
+ suggest to the user they might upgrade to it.
118
118
If such an upgrade could be done via ` cargo update ` , then the
119
- output could obviously suggest that as well. (This is just a
120
- heuristic measure, as it would not attempt to check ahead of time
121
- if the newer version actually resolves the problem in question.)
119
+ output could obviously suggest that as well.
120
+
121
+ (This is just a heuristic measure, as it would not attempt to
122
+ check ahead of time if the newer version actually resolves the
123
+ problem in question.)
124
+
125
+ A further refinement on this idea would be to query
126
+ ` crates.io ` itself If cargo is not running in "offline mode". But
127
+ querying the index may well suffice in practice.
122
128
123
129
* Cargo could suggest to the ` unwary ` maintainer that they file a bug
124
130
(or search for previously-filed bug) in the source repository for
0 commit comments