data: move the YAML data files into a top-level data/ directory
This commit is contained in:
1 parent
69f3c3954e
commit
6e5ecd2f45
6 files changed
+3
-3
No files matched your search
+1
-1
@@ -44,7 +44,7 @@ pub struct QuirksConfig {
|
||||
pub quirks: HashMap<String, PackageQuirks>,
|
||||
}
|
||||
|
||||
const QUIRKS_YAML: &str = include_str!("../quirks.yml");
|
||||
const QUIRKS_YAML: &str = include_str!("../data/quirks.yml");
|
||||
lazy_static! {
|
||||
static ref QUIRKS_DATA: QuirksConfig = serde_yaml::from_str(QUIRKS_YAML).unwrap();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user