pub trait Registry {
fn query(
&mut self,
dep: &Dependency,
f: &mut dyn FnMut(Summary),
fuzzy: bool
) -> CargoResult<()>;
fn query_vec(
&mut self,
dep: &Dependency,
fuzzy: bool
) -> CargoResult<Vec<Summary>> { ... }
}
Expand description
Source of information about a group of packages.
See also core::Source
.
Required Methods
sourcefn query(
&mut self,
dep: &Dependency,
f: &mut dyn FnMut(Summary),
fuzzy: bool
) -> CargoResult<()>
fn query(
&mut self,
dep: &Dependency,
f: &mut dyn FnMut(Summary),
fuzzy: bool
) -> CargoResult<()>
Attempt to find the packages that match a dependency request.