@@ -140,26 +140,24 @@ explaining the format of the entry.
140140 " req" : " ^0.6" ,
141141 // Array of features (as strings) enabled for this dependency.
142142 " features" : [" i128_support" ],
143- // Boolean of whether or not this is an optional dependency.
143+ // Boolean of whether or not this is an optional dependency. Defaults to `false` if not specified.
144144 " optional" : false ,
145- // Boolean of whether or not default features are enabled.
145+ // Boolean of whether or not default features are enabled. Defaults to `true` if not specified.
146146 " default_features" : true ,
147147 // The target platform for the dependency.
148- // null if not a target dependency.
148+ // If not specified or ` null`, it is not a target dependency.
149149 // Otherwise, a string such as "cfg(windows)".
150150 " target" : null ,
151151 // The dependency kind.
152152 // "dev", "build", or "normal".
153- // Note: this is a required field, but a small number of entries
154- // exist in the crates.io index with either a missing or null
155- // `kind` field due to implementation bugs.
153+ // If not specified or `null`, it defaults to "normal".
156154 " kind" : " normal" ,
157155 // The URL of the index of the registry where this dependency is
158- // from as a string. If not specified or null, it is assumed the
156+ // from as a string. If not specified or ` null` , it is assumed the
159157 // dependency is in the current registry.
160158 " registry" : null ,
161159 // If the dependency is renamed, this is a string of the actual
162- // package name. If not specified or null, this dependency is not
160+ // package name. If not specified or ` null` , this dependency is not
163161 // renamed.
164162 " package" : null ,
165163 }
0 commit comments