diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-01-26 21:32:21 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-01-26 21:32:21 +0000 |
| commit | fc3f22eac2bb81823f170f61ba9d39baff76b933 (patch) | |
| tree | b6eec0bad2850e90bdded550bd175849f8e1abff /src/repo_ref.rs | |
| parent | d96c8f6687be8966a0bb25c679995fea3b9f0715 (diff) | |
chore: upgrade rust-nostr v0.27.0v0.1.1
this is a contribution from jk (sectore) that I rebased and squashed
into this commit.
the tests were broken in the last few commits to rush out some fixes.
this change may introduce more issues because of
Relay.respond_standard_req.
Diffstat (limited to 'src/repo_ref.rs')
| -rw-r--r-- | src/repo_ref.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repo_ref.rs b/src/repo_ref.rs index d12c681..22236f7 100644 --- a/src/repo_ref.rs +++ b/src/repo_ref.rs | |||
| @@ -75,7 +75,7 @@ impl RepoRef { | |||
| 75 | nostr_sdk::EventBuilder::new( | 75 | nostr_sdk::EventBuilder::new( |
| 76 | nostr::event::Kind::Custom(REPO_REF_KIND), | 76 | nostr::event::Kind::Custom(REPO_REF_KIND), |
| 77 | "", | 77 | "", |
| 78 | &[ | 78 | [ |
| 79 | vec![ | 79 | vec![ |
| 80 | Tag::Identifier(self.root_commit.to_string()), | 80 | Tag::Identifier(self.root_commit.to_string()), |
| 81 | Tag::Reference(format!("r-{}", self.root_commit)), | 81 | Tag::Reference(format!("r-{}", self.root_commit)), |
| @@ -90,7 +90,7 @@ impl RepoRef { | |||
| 90 | self.relays.iter().map(|r| Tag::Relay(r.into())).collect(), | 90 | self.relays.iter().map(|r| Tag::Relay(r.into())).collect(), |
| 91 | self.maintainers | 91 | self.maintainers |
| 92 | .iter() | 92 | .iter() |
| 93 | .map(|pk| Tag::PubKey(*pk, None)) | 93 | .map(|pk| Tag::public_key(*pk)) |
| 94 | .collect(), | 94 | .collect(), |
| 95 | // code languages and hashtags | 95 | // code languages and hashtags |
| 96 | ] | 96 | ] |