diff --git a/src/dependency.rs b/src/dependency.rs index 5ecefd7da6..dc1a33f0f8 100644 --- a/src/dependency.rs +++ b/src/dependency.rs @@ -68,7 +68,7 @@ impl Dependency { optional: optional, default_features: default_features, target: target.clone(), - kind: kind, + kind: Some(kind), } } diff --git a/src/git.rs b/src/git.rs index a104e0a910..533d183d15 100644 --- a/src/git.rs +++ b/src/git.rs @@ -35,7 +35,7 @@ pub struct Dependency { pub optional: bool, pub default_features: bool, pub target: Option, - pub kind: Kind, + pub kind: Option, } pub fn serve_index(req: &mut Request) -> CargoResult {