1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod generated {
    #![allow(warnings)]
    #![allow(clippy::all, clippy::pedantic)]
    include!("./generated/rs.devtools.tauri.rs");
}

pub use generated::*;

// TODO improve this
impl<'a> From<&'a tauri::Config> for Config {
    fn from(value: &'a tauri::Config) -> Self {
        Self {
            raw: serde_json::to_string(&value).unwrap(),
        }
    }
}