We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
map_dependencies
1 parent fe0e5a4 commit 880337aCopy full SHA for 880337a
src/cargo/core/summary.rs
@@ -26,7 +26,7 @@ pub struct Summary {
26
struct Inner {
27
package_id: PackageId,
28
dependencies: Vec<Dependency>,
29
- features: FeatureMap,
+ features: Rc<FeatureMap>,
30
checksum: Option<String>,
31
links: Option<InternedString>,
32
namespaced_features: bool,
@@ -64,7 +64,7 @@ impl Summary {
64
inner: Rc::new(Inner {
65
package_id: pkg_id,
66
dependencies,
67
- features: feature_map,
+ features: Rc::new(feature_map),
68
checksum: None,
69
links: links.map(|l| l.into()),
70
namespaced_features,
0 commit comments