File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,10 @@ pub struct DbDump {
209209 /// <td>has_lib</td>
210210 /// <td>bin_names</td>
211211 /// <td>edition</td>
212+ /// <td>description</td>
213+ /// <td>homepage</td>
214+ /// <td>documentation</td>
215+ /// <td>repository</td>
212216 /// </tr></table>
213217 pub versions : Vec < versions:: Row > ,
214218}
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ pub struct Row {
4242 pub has_lib : bool ,
4343 pub bin_names : Vec < String > ,
4444 pub edition : Option < u16 > ,
45+ pub description : Option < String > ,
46+ pub homepage : Option < String > ,
47+ pub documentation : Option < String > ,
48+ pub repository : Option < String > ,
4549}
4650
4751impl < ' de > Deserialize < ' de > for Row {
@@ -82,6 +86,10 @@ impl<'de> Deserialize<'de> for Row {
8286 #[ serde( default , deserialize_with = "bin_names" ) ]
8387 bin_names : Vec < String > ,
8488 edition : Option < u16 > ,
89+ description : Option < String > ,
90+ homepage : Option < String > ,
91+ documentation : Option < String > ,
92+ repository : Option < String > ,
8593 }
8694
8795 let Row {
@@ -103,6 +111,10 @@ impl<'de> Deserialize<'de> for Row {
103111 has_lib,
104112 bin_names,
105113 edition,
114+ description,
115+ homepage,
116+ documentation,
117+ repository,
106118 } = Row :: deserialize ( deserializer) ?;
107119 Ok ( Self {
108120 id,
@@ -122,6 +134,10 @@ impl<'de> Deserialize<'de> for Row {
122134 has_lib,
123135 bin_names,
124136 edition,
137+ description,
138+ homepage,
139+ documentation,
140+ repository,
125141 } )
126142 }
127143}
You can’t perform that action at this time.
0 commit comments