1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use melodium_common::descriptor::Package;
use std::path::PathBuf;

/**
 * Provides base loading configuration
 *
 * The configuration behavior depends on features that are activated on build.
 * The `search_locations` field is inspected in order.
 */
#[derive(Debug)]
pub struct LoadingConfig {
    /// List of built-in packages loading procedure can rely on
    pub core_packages: Vec<Box<dyn Package>>,
    /// Locations where loading procedure can look to get packages
    pub search_locations: Vec<PathBuf>,
}