feat: add rust nostr

This commit is contained in:
2024-02-01 12:54:25 +07:00
parent 0191180f31
commit e8bd48e51b
6 changed files with 469 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
)]
pub mod commands;
pub mod nostr;
use tauri_plugin_autostart::MacosLauncher;
use tauri_plugin_sql::{Migration, MigrationKind};
@@ -48,6 +49,8 @@ fn main() {
Some(vec![]),
))
.invoke_handler(tauri::generate_handler![
nostr::keys::create_keys,
nostr::keys::get_public_key,
commands::secret::secure_save,
commands::secret::secure_load,
commands::secret::secure_remove,