Skip to content

Commit 9b79aaf

Browse files
committed
Merge remote-tracking branch 'origin/main'
# Conflicts: # Cargo.toml # src/lib.rs
2 parents f28e77d + f6fc092 commit 9b79aaf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ Minimal changes to libducohash
33

44
Fixed compile time error.
55
Contains a warning suppression, which is fixed in the [other version](https://github.com/profpandaa/libducohash).
6+
7+
# How to compile
8+
Run `cargo build --release` in the directory of the repository and get the binary from `target/release`. The binary is only compatible for the platform you compile it on. For cross-compilation check out the [cross project](https://github.com/cross-rs/cross).

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use std::hash::Hash;
21
use pyo3::prelude::*;
2+
use sha1::Sha1;
33
use std::time::Duration;
44
use sha1::{Digest, Sha1};
55
use sha1::digest::{DynDigest, Update};

0 commit comments

Comments
 (0)