upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib/repo_ref.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-11-11 13:08:35 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-11-11 13:08:35 +0000
commit30f1a3efa9265b1403a7aa68fffbd65291face3d (patch)
tree335ceb627f6ae4a81a74b2bbae3f8cf1a2da2f41 /src/lib/repo_ref.rs
parentf08ee98ab7e19d4e42ffa85aa619f012441fbe47 (diff)
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.
Diffstat (limited to 'src/lib/repo_ref.rs')
-rw-r--r--src/lib/repo_ref.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/repo_ref.rs b/src/lib/repo_ref.rs
index 9bee641..8b48824 100644
--- a/src/lib/repo_ref.rs
+++ b/src/lib/repo_ref.rs
@@ -3,6 +3,7 @@ use std::{
3 fs::File, 3 fs::File,
4 io::BufReader, 4 io::BufReader,
5 str::FromStr, 5 str::FromStr,
6 sync::Arc,
6}; 7};
7 8
8use anyhow::{bail, Context, Result}; 9use anyhow::{bail, Context, Result};
@@ -116,7 +117,7 @@ impl TryFrom<nostr::Event> for RepoRef {
116} 117}
117 118
118impl RepoRef { 119impl RepoRef {
119 pub async fn to_event(&self, signer: &NostrSigner) -> Result<nostr::Event> { 120 pub async fn to_event(&self, signer: &Arc<dyn NostrSigner>) -> Result<nostr::Event> {
120 sign_event( 121 sign_event(
121 nostr_sdk::EventBuilder::new( 122 nostr_sdk::EventBuilder::new(
122 nostr::event::Kind::GitRepoAnnouncement, 123 nostr::event::Kind::GitRepoAnnouncement,