mod commands;
use commands::{
binary, cert, cron, crypto, dialog, image_b64, jwt, markdown, password_hash, qr, sql, yaml,
};
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_dialog::init())
.invoke_handler(tauri::generate_handler![
crypto::generate_hashes,
crypto::hash_file,
crypto::stop_file_watch,
crypto::compute_hmac,
qr::generate_qr,
markdown::render_markdown,
yaml::convert_yaml,
sql::format_sql,
cron::describe_cron,
dialog::open_file_dialog,
dialog::read_text_file,
image_b64::image_to_base64,
binary::decode_protobuf,
binary::decode_msgpack,
binary::read_file_hex,
cert::inspect_certificate,
password_hash::hash_password,
password_hash::verify_password,
jwt::verify_jwt,
])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}