aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-10-26 00:15:32 -0700
committerBryan Newbold <bnewbold@robocracy.org>2017-10-26 00:15:36 -0700
commitc04f8fa3b9c26491884adefa7d2ecacb2b615557 (patch)
tree706b7366495167e5c0b729021520f2ced389eb89
parentd475966f2bea3a4edc7f043c4c9c6617ee4e9bc8 (diff)
downloadgeniza-c04f8fa3b9c26491884adefa7d2ecacb2b615557.tar.gz
geniza-c04f8fa3b9c26491884adefa7d2ecacb2b615557.zip
switch to bnewbold's patched sodiumoxide
... which exposes the stream_xor_ic() family of functions.
-rw-r--r--Cargo.lock16
-rw-r--r--Cargo.toml5
2 files changed, 12 insertions, 9 deletions
diff --git a/Cargo.lock b/Cargo.lock
index f6c1c4a..baedf8d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -10,7 +10,7 @@ dependencies = [
"protobuf 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
"rust-crypto 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)",
- "sodiumoxide 0.0.15 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sodiumoxide 0.0.16 (git+https://github.com/bnewbold/sodiumoxide-patched?branch=stream_xor_ic)",
"tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -164,8 +164,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "libsodium-sys"
-version = "0.0.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+version = "0.0.16"
+source = "git+https://github.com/bnewbold/sodiumoxide-patched?branch=stream_xor_ic#89a5fedb4d586e0884c2a2c16f7f93be6e902249"
dependencies = [
"libc 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -262,11 +262,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "sodiumoxide"
-version = "0.0.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+version = "0.0.16"
+source = "git+https://github.com/bnewbold/sodiumoxide-patched?branch=stream_xor_ic#89a5fedb4d586e0884c2a2c16f7f93be6e902249"
dependencies = [
"libc 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
- "libsodium-sys 0.0.15 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libsodium-sys 0.0.16 (git+https://github.com/bnewbold/sodiumoxide-patched?branch=stream_xor_ic)",
"serde 1.0.16 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -385,7 +385,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum integer-encoding 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "eb89832a57e4732a55a7753a4818f0d67c8a8822fa152475b169f57a264c557c"
"checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
"checksum libc 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)" = "56cce3130fd040c28df6f495c8492e5ec5808fb4c9093c310df02b0c8f030148"
-"checksum libsodium-sys 0.0.15 (registry+https://github.com/rust-lang/crates.io-index)" = "45e6d6bd0f1b72068272e1689693e3218f192221fae7a2046081f60035540df8"
+"checksum libsodium-sys 0.0.16 (git+https://github.com/bnewbold/sodiumoxide-patched?branch=stream_xor_ic)" = "<none>"
"checksum log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "880f77541efa6e5cc74e76910c9884d9859683118839d6a1dc3b11e63512565b"
"checksum memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d8b629fb514376c675b98c1421e80b151d3817ac42d7c667717d282761418d20"
"checksum pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "3a8b4c6b8165cd1a1cd4b9b120978131389f64bdaf456435caa41e630edba903"
@@ -399,7 +399,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum rustc-demangle 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "aee45432acc62f7b9a108cc054142dac51f979e69e71ddce7d6fc7adf29e817e"
"checksum rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)" = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda"
"checksum serde 1.0.16 (registry+https://github.com/rust-lang/crates.io-index)" = "e11a631f964d4e6572712ea12075fb1d65eeef42b0058884195b430ac1e26809"
-"checksum sodiumoxide 0.0.15 (registry+https://github.com/rust-lang/crates.io-index)" = "769317362b6ba15fe135147c9ea97dc773c76a312a5b91282dea27bcfed3596c"
+"checksum sodiumoxide 0.0.16 (git+https://github.com/bnewbold/sodiumoxide-patched?branch=stream_xor_ic)" = "<none>"
"checksum strsim 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b4d15c810519a91cf877e7e36e63fe068815c678181439f2f29e2562147c3694"
"checksum tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "87974a6f5c1dfb344d733055601650059a3363de2a6104819293baff662132d6"
"checksum term_size 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2b6b55df3198cc93372e85dd2ed817f0e38ce8cc0f22eb32391bfad9c4bf209"
diff --git a/Cargo.toml b/Cargo.toml
index 5fbc317..edb9f46 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,7 +12,10 @@ env_logger = "0.3"
rand = "0.3"
protobuf = "1.3"
log = "0.3"
-sodiumoxide = "0.0.15"
+sodiumoxide = "0.0.16"
[dev-dependencies]
tempdir = "0.3"
+
+[patch.crates-io]
+sodiumoxide = { git = 'https://github.com/bnewbold/sodiumoxide-patched', branch = 'stream_xor_ic' }