chore: restructure backend
Rust / build (macos-latest, stable) (push) Canceled after 0s
Rust / build (ubuntu-latest, stable) (push) Canceled after 0s
Rust / build (windows-latest, stable) (push) Canceled after 0s

This commit is contained in:
2026-11-28 09:06:13 +07:00
parent 44c2dc6345
commit 71bbcfaf51
35 changed files with 1781 additions and 2214 deletions
+6 -6
View File
@@ -1,11 +1,5 @@
use nostr::prelude::*;
#[derive(serde::Deserialize)]
pub(crate) struct Nip34Json {
pub(crate) identifier: Option<String>,
pub(crate) owner: Option<String>,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Nip34Kind {
Initialized,
@@ -13,6 +7,12 @@ pub enum Nip34Kind {
ToolingOnly,
}
#[derive(serde::Deserialize)]
pub(crate) struct Nip34Json {
pub(crate) identifier: Option<String>,
pub(crate) owner: Option<String>,
}
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)]
pub struct GraspSignals {
pub nip34_json: bool,