This commit is contained in:
Syfaro 2021-02-20 17:36:48 -05:00
parent f592cc624d
commit ed865ba512
6 changed files with 766 additions and 2761 deletions

View File

@ -19,6 +19,7 @@ steps:
- wget -O sccache.tar.gz https://github.com/mozilla/sccache/releases/download/0.2.13/sccache-0.2.13-x86_64-unknown-linux-musl.tar.gz - wget -O sccache.tar.gz https://github.com/mozilla/sccache/releases/download/0.2.13/sccache-0.2.13-x86_64-unknown-linux-musl.tar.gz
- tar zxvf sccache.tar.gz - tar zxvf sccache.tar.gz
- export RUSTC_WRAPPER=$(pwd)/sccache-0.2.13-x86_64-unknown-linux-musl/sccache - export RUSTC_WRAPPER=$(pwd)/sccache-0.2.13-x86_64-unknown-linux-musl/sccache
- export SQLX_OFFLINE=true
- cargo build - cargo build
- cargo test - cargo test
- $(pwd)/sccache-0.2.13-x86_64-unknown-linux-musl/sccache --show-stats - $(pwd)/sccache-0.2.13-x86_64-unknown-linux-musl/sccache --show-stats

1
.gitignore vendored
View File

@ -1 +1,2 @@
/target /target
.env

1298
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,7 @@
members = [ members = [
"fuzzysearch", "fuzzysearch",
"fuzzysearch-common", "fuzzysearch-common",
"fuzzysearch-ingest-e621",
"fuzzysearch-ingest-furaffinity", "fuzzysearch-ingest-furaffinity",
"fuzzysearch-ingest-weasyl" "fuzzysearch-ingest-weasyl"
] ]

View File

@ -164,7 +164,7 @@ mod tests {
assert_eq!( assert_eq!(
hashes[0], hashes[0],
[154, 64, 160, 169, 170, 53, 181, 221], [154, 64, 160, 169, 170, 53, 53, 221],
"First frame had different hash" "First frame had different hash"
); );
assert_eq!( assert_eq!(
@ -191,12 +191,12 @@ mod tests {
assert_eq!( assert_eq!(
hashes[0], hashes[0],
[60, 166, 75, 61, 48, 166, 73, 205], [60, 166, 75, 61, 48, 166, 75, 205],
"First frame had different hash" "First frame had different hash"
); );
assert_eq!( assert_eq!(
hashes[1], hashes[1],
[60, 166, 75, 61, 48, 166, 73, 205], [60, 166, 75, 61, 48, 166, 75, 205],
"Second frame had different hash" "Second frame had different hash"
); );

File diff suppressed because it is too large Load Diff