From 30f1a3efa9265b1403a7aa68fffbd65291face3d Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 11 Nov 2024 13:08:35 +0000 Subject: chore: bump rust-nostr v0.36 bump all rust-nostr packages to latest issued version. there have been some breaking changes to nip46 and this applies these changes. --- src/bin/git_remote_nostr/push.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/bin/git_remote_nostr') diff --git a/src/bin/git_remote_nostr/push.rs b/src/bin/git_remote_nostr/push.rs index 8fc8349..91c901a 100644 --- a/src/bin/git_remote_nostr/push.rs +++ b/src/bin/git_remote_nostr/push.rs @@ -29,9 +29,8 @@ use ngit::{ }; use nostr::nips::nip10::Marker; use nostr_sdk::{ - hashes::sha1::Hash as Sha1Hash, Event, EventBuilder, EventId, Kind, PublicKey, Tag, + hashes::sha1::Hash as Sha1Hash, Event, EventBuilder, EventId, Kind, NostrSigner, PublicKey, Tag, }; -use nostr_signer::NostrSigner; use repo_ref::RepoRef; use repo_state::RepoState; @@ -876,7 +875,7 @@ async fn get_merged_status_events( repo_ref: &RepoRef, git_repo: &Repo, remote_nostr_url: &str, - signer: &NostrSigner, + signer: &Arc, refspecs_to_git_server: &Vec, ) -> Result> { let mut events = vec![]; @@ -952,7 +951,7 @@ async fn get_merged_status_events( } async fn create_merge_status( - signer: &NostrSigner, + signer: &Arc, repo_ref: &RepoRef, proposal: &Event, revision: &Option, @@ -1194,14 +1193,14 @@ trait BuildRepoState { async fn build( identifier: String, state: HashMap, - signer: &NostrSigner, + signer: &Arc, ) -> Result; } impl BuildRepoState for RepoState { async fn build( identifier: String, state: HashMap, - signer: &NostrSigner, + signer: &Arc, ) -> Result { let mut tags = vec![Tag::identifier(identifier.clone())]; for (name, value) in &state { -- cgit v1.2.3