@@ -193,11 +193,11 @@ pub enum Error {
193
193
194
194
#[ derive( Debug , Default ) ]
195
195
/// All the system dependencies retrieved by [Config::probe].
196
- pub struct Libraries {
196
+ pub struct Dependencies {
197
197
libs : HashMap < String , Library > ,
198
198
}
199
199
200
- impl Libraries {
200
+ impl Dependencies {
201
201
/// Retrieve details about a system dependency.
202
202
///
203
203
/// # Arguments
@@ -486,7 +486,7 @@ impl Config {
486
486
/// `[package.metadata.system-deps]` section.
487
487
///
488
488
/// The returned hash is using the the `toml` key defining the dependency as key.
489
- pub fn probe ( self ) -> Result < Libraries , Error > {
489
+ pub fn probe ( self ) -> Result < Dependencies , Error > {
490
490
let libraries = self . probe_full ( ) ?;
491
491
let flags = libraries. gen_flags ( ) ?;
492
492
@@ -524,14 +524,14 @@ impl Config {
524
524
}
525
525
}
526
526
527
- fn probe_full ( mut self ) -> Result < Libraries , Error > {
527
+ fn probe_full ( mut self ) -> Result < Dependencies , Error > {
528
528
let mut libraries = self . probe_pkg_config ( ) ?;
529
529
libraries. override_from_flags ( & self . env ) ;
530
530
531
531
Ok ( libraries)
532
532
}
533
533
534
- fn probe_pkg_config ( & mut self ) -> Result < Libraries , Error > {
534
+ fn probe_pkg_config ( & mut self ) -> Result < Dependencies , Error > {
535
535
let dir = self
536
536
. env
537
537
. get ( "CARGO_MANIFEST_DIR" )
@@ -541,7 +541,7 @@ impl Config {
541
541
542
542
let metadata = MetaData :: from_file ( & path) ?;
543
543
544
- let mut libraries = Libraries :: default ( ) ;
544
+ let mut libraries = Dependencies :: default ( ) ;
545
545
546
546
for dep in metadata. deps . iter ( ) {
547
547
let mut enabled_feature_overrides = Vec :: new ( ) ;
0 commit comments