fn flatten_features<'a>( deps: impl IntoIterator<Item = &'a str>, package_features: &BTreeMap<&'a str, Vec<&'a str>>, ) -> BTreeSet<&'a str>