From f7d520e9ccb6084144a3e963516e40a322add0c8 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 22 Mar 2024 15:51:31 +0000 Subject: use Sha1Hashin new location it had moved from 'prelude' to 'hashes' --- src/git.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/git.rs') diff --git a/src/git.rs b/src/git.rs index 86b59fb..77c1dcb 100644 --- a/src/git.rs +++ b/src/git.rs @@ -4,7 +4,7 @@ use std::{env::current_dir, path::Path}; use anyhow::{bail, Context, Result}; use git2::{DiffOptions, Oid, Revwalk}; -use nostr::prelude::{sha1::Hash as Sha1Hash, Hash}; +use nostr_sdk::hashes::{sha1::Hash as Sha1Hash, Hash}; use crate::sub_commands::list::{get_commit_id_from_patch, tag_value}; -- cgit v1.2.3