0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-20 12:02:18 +02:00

Update dependencies

This is `cargo update` along with manually upgrading jni to 0.19 and prost to 0.7

This isn't a complete cargo update as it avoids updating polyval as there is
a duplicate dependency issue there in cpuid-bool between the newest version of
polyval crate and the current latest version of the sha2 crate.

The bytes dependency in protocol that was causing duplicate dependencies was a
red herring - actually bytes was not used with the protocol crate!

Supplants #164 update prost
Fixes #221 update jni
This commit is contained in:
Jack Lloyd 2021-02-24 11:08:46 -05:00
parent c9fd658b62
commit b2bdf6e052
4 changed files with 324 additions and 290 deletions

605
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -21,6 +21,6 @@ libsignal-protocol = { path = "../../protocol" }
aes-gcm-siv = { path = "../../aes-gcm-siv" }
libsignal-bridge = { path = "../shared", features = ["jni"] }
async-trait = "0.1.41"
jni = "0.17"
jni = "0.19"
rand = "0.7.3"
log = "0.4"

View File

@ -23,7 +23,7 @@ scopeguard = "1.0"
async-trait = "0.1.41"
libc = { version = "0.2", optional = true }
jni_crate = { version = "0.17", package = "jni", optional = true }
jni_crate = { version = "0.19", package = "jni", optional = true }
neon = { version = "0.7.0", optional = true, default-features = false, features = ["napi-4"] }
linkme = { version = "0.2.4", optional = true }
signal-neon-futures = { path = "../node/futures", optional = true }

View File

@ -19,9 +19,8 @@ ctr = "0.6"
arrayref = "0.3.6"
async-trait = "0.1.41"
block-modes = "0.7"
bytes = "0.5"
hmac = "0.9.0"
prost = "0.6"
prost = "0.7"
rand = "0.7.3"
sha2 = "0.9"
subtle = "2.2.3"
@ -47,7 +46,7 @@ criterion = "0.3"
futures = "0.3.7"
[build-dependencies]
prost-build = "0.6"
prost-build = "0.7"
[[bench]]
name = "session"