aboutsummaryrefslogtreecommitdiff
path: root/test_vectors
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2020-02-11 14:13:30 -0500
committerJack O'Connor <[email protected]>2020-02-12 10:23:17 -0500
commitefbfa0463c793dc1319db10ca4e3b809937b227d (patch)
treeb643427eb38da8dc9b6548814e7e34966b604791 /test_vectors
parentb6b3c27824e665a73f77fd147da2052efff0ab8a (diff)
integrate assembly implementations into the blake3 crate
Diffstat (limited to 'test_vectors')
-rw-r--r--test_vectors/Cargo.toml8
-rwxr-xr-xtest_vectors/cross_test.sh2
2 files changed, 8 insertions, 2 deletions
diff --git a/test_vectors/Cargo.toml b/test_vectors/Cargo.toml
index 007d1c8..2a90e39 100644
--- a/test_vectors/Cargo.toml
+++ b/test_vectors/Cargo.toml
@@ -3,10 +3,16 @@ name = "test_vectors"
version = "0.0.0"
edition = "2018"
+[features]
+default = []
+c = ["blake3/c"]
+c_prefer_intrinsics = ["blake3/c_prefer_intrinsics"]
+c_neon = ["blake3/c_neon"]
+
[dependencies]
# If you ever change these path dependencies, you'll probably need to update
# cross_test.sh, or CI will break. I'm sorry >.<
-blake3 = { path = "../", features=["c_avx512"] }
+blake3 = { path = "../" }
hex = "0.4.0"
reference_impl = { path = "../reference_impl" }
serde = { version = "1.0", features = ["derive"] }
diff --git a/test_vectors/cross_test.sh b/test_vectors/cross_test.sh
index 1f6a34b..c4d280c 100755
--- a/test_vectors/cross_test.sh
+++ b/test_vectors/cross_test.sh
@@ -19,7 +19,7 @@ mv blake3/test_vectors .
mv blake3/reference_impl test_vectors
mv blake3 test_vectors
cd test_vectors
-sed -i 's|blake3 = { path = "../", features=\["c_avx512"\] }|blake3 = { path = "./blake3" }|' Cargo.toml
+sed -i 's|blake3 = { path = "../" }|blake3 = { path = "./blake3" }|' Cargo.toml
sed -i 's|reference_impl = { path = "../reference_impl" }|reference_impl = { path = "reference_impl" }|' Cargo.toml
cross test "$@"