We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe39cb9 commit 860be95Copy full SHA for 860be95
src/dependency.rs
@@ -68,7 +68,7 @@ impl Dependency {
68
optional: optional,
69
default_features: default_features,
70
target: target.clone(),
71
- kind: kind,
+ kind: Some(kind),
72
}
73
74
src/git.rs
@@ -35,7 +35,7 @@ pub struct Dependency {
35
pub optional: bool,
36
pub default_features: bool,
37
pub target: Option<String>,
38
- pub kind: Kind,
+ pub kind: Option<Kind>,
39
40
41
pub fn serve_index(req: &mut Request) -> CargoResult<Response> {
0 commit comments