diff --git a/src/cargo/core/summary.rs b/src/cargo/core/summary.rs index 7080d227453..d6732ec8997 100644 --- a/src/cargo/core/summary.rs +++ b/src/cargo/core/summary.rs @@ -26,7 +26,7 @@ pub struct Summary { struct Inner { package_id: PackageId, dependencies: Vec, - features: FeatureMap, + features: Rc, checksum: Option, links: Option, namespaced_features: bool, @@ -64,7 +64,7 @@ impl Summary { inner: Rc::new(Inner { package_id: pkg_id, dependencies, - features: feature_map, + features: Rc::new(feature_map), checksum: None, links: links.map(|l| l.into()), namespaced_features,