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

feat: embed UKA profile

This commit is contained in:
Paul-Christian Volkmer 2024-11-05 20:34:39 +01:00
parent bd1b66fd5b
commit 4f3d748517

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"),