Skip to content

Commit

Permalink
Handle older entries in the index
Browse files Browse the repository at this point in the history
Closes #71
  • Loading branch information
alexcrichton committed Nov 23, 2014
1 parent fe39cb9 commit 860be95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dependency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl Dependency {
optional: optional,
default_features: default_features,
target: target.clone(),
kind: kind,
kind: Some(kind),
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct Dependency {
pub optional: bool,
pub default_features: bool,
pub target: Option<String>,
pub kind: Kind,
pub kind: Option<Kind>,
}

pub fn serve_index(req: &mut Request) -> CargoResult<Response> {
Expand Down

0 comments on commit 860be95

Please sign in to comment.