1
0
mirror of https://github.com/pcvolkmer/osc-variant.git synced 2025-04-19 11:46:50 +00:00

Merge pull request #32 from pcvolkmer/feat_uka_profile

feat: embed UKA profile
This commit is contained in:
Paul-Christian Volkmer 2024-11-05 20:38:04 +01:00 committed by GitHub
commit 242d818f88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,6 +33,7 @@ pub struct Profile {
impl Profile {
pub fn embedded_profile(name: &str) -> Result<Profile, String> {
let s = match name {
"UKA" => include_str!("../examples/dnpm-uka.yml"),
"UKM" => include_str!("../examples/dnpm-ukm.yml"),
"UKR" => include_str!("../examples/dnpm-ukr.yml"),
"UKW" => include_str!("../examples/dnpm-ukw.yml"),