deps: remove reqwest
This was preventing us from building on windows amd Closes: https://github.com/damus-io/notedeck/pull/567 Signed-off-by: kernelkind <kernelkind@gmail.com> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
William Casarin
parent
4bfa26fd8c
commit
13a406b9cd
@@ -13,7 +13,7 @@ impl fmt::Debug for NoteId {
|
||||
}
|
||||
}
|
||||
|
||||
static HRP_NOTE: nostr::bech32::Hrp = nostr::bech32::Hrp::parse_unchecked("note");
|
||||
static HRP_NOTE: bech32::Hrp = bech32::Hrp::parse_unchecked("note");
|
||||
|
||||
impl NoteId {
|
||||
pub fn new(bytes: [u8; 32]) -> Self {
|
||||
@@ -34,7 +34,7 @@ impl NoteId {
|
||||
}
|
||||
|
||||
pub fn to_bech(&self) -> Option<String> {
|
||||
nostr::bech32::encode::<nostr::bech32::Bech32>(HRP_NOTE, &self.0).ok()
|
||||
bech32::encode::<bech32::Bech32>(HRP_NOTE, &self.0).ok()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user