Skip to content

Commit 7cc9f11

Browse files
committed
Removed the license field from EncodableCrate
1 parent 8c7e929 commit 7cc9f11

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/krate.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ pub struct EncodableCrate {
104104
pub description: Option<String>,
105105
pub homepage: Option<String>,
106106
pub documentation: Option<String>,
107-
pub license: Option<String>,
108107
pub repository: Option<String>,
109108
pub links: CrateLinks,
110109
pub exact_match: bool,
@@ -507,7 +506,6 @@ impl Crate {
507506
homepage,
508507
documentation,
509508
repository,
510-
license,
511509
..
512510
} = self;
513511
let versions_link = match versions {
@@ -533,7 +531,6 @@ impl Crate {
533531
exact_match: exact_match,
534532
description: description,
535533
repository: repository,
536-
license: license,
537534
links: CrateLinks {
538535
version_downloads: format!("/api/v1/crates/{}/downloads", name),
539536
versions: versions_link,

0 commit comments

Comments
 (0)