upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/sub_commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/sub_commands')
-rw-r--r--src/sub_commands/push.rs2
-rw-r--r--src/sub_commands/send.rs6
2 files changed, 3 insertions, 5 deletions
diff --git a/src/sub_commands/push.rs b/src/sub_commands/push.rs
index 651b250..bb50ee2 100644
--- a/src/sub_commands/push.rs
+++ b/src/sub_commands/push.rs
@@ -1,5 +1,5 @@
1use anyhow::{bail, Context, Result}; 1use anyhow::{bail, Context, Result};
2use nostr::prelude::sha1::Hash as Sha1Hash; 2use nostr_sdk::hashes::sha1::Hash as Sha1Hash;
3 3
4#[cfg(not(test))] 4#[cfg(not(test))]
5use crate::client::Client; 5use crate::client::Client;
diff --git a/src/sub_commands/send.rs b/src/sub_commands/send.rs
index 35c2c81..cc182f1 100644
--- a/src/sub_commands/send.rs
+++ b/src/sub_commands/send.rs
@@ -4,10 +4,8 @@ use anyhow::{bail, Context, Result};
4use console::Style; 4use console::Style;
5use futures::future::join_all; 5use futures::future::join_all;
6use indicatif::{MultiProgress, ProgressBar, ProgressStyle}; 6use indicatif::{MultiProgress, ProgressBar, ProgressStyle};
7use nostr::{ 7use nostr::{nips::nip19::Nip19, EventBuilder, FromBech32, Marker, Tag, TagKind, UncheckedUrl};
8 nips::nip19::Nip19, prelude::sha1::Hash as Sha1Hash, EventBuilder, FromBech32, Marker, Tag, 8use nostr_sdk::hashes::sha1::Hash as Sha1Hash;
9 TagKind, UncheckedUrl,
10};
11 9
12use super::list::tag_value; 10use super::list::tag_value;
13#[cfg(not(test))] 11#[cfg(not(test))]