diff --git a/Cargo.lock b/Cargo.lock index f51f5f50235500eb643f19bdc1b1db365a9053c2..13e09429d4170e31b4830b5146e148cf705629c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10,11 +10,22 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "bincode" -version = "1.3.3" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" +checksum = "3ad1fa75f77bbd06f187540aa1d70ca50b80b27ce85e7f41c0ce7ff42b34ed3b" dependencies = [ + "bincode_derive", "serde", + "unty", +] + +[[package]] +name = "bincode_derive" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1cef5dd4a4457dd11529e743d18ba4fabbd5f20b6895f4c865cb257337dcf9f" +dependencies = [ + "virtue", ] [[package]] @@ -596,6 +607,12 @@ dependencies = [ "tinyvec", ] +[[package]] +name = "unty" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1a88342087869553c259588a3ec9ca73ce9b2d538b7051ba5789ff236b6c129" + [[package]] name = "url" version = "2.2.2" @@ -608,6 +625,12 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "virtue" +version = "0.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "051eb1abcf10076295e815102942cc58f9d5e3b4560e46e53c21e8ff6f3af7b1" + [[package]] name = "wasi" version = "0.9.0+wasi-snapshot-preview1" diff --git a/Cargo.toml b/Cargo.toml index c99c03429f56a062185faf2bef8a39a49610a6e9..806a9dcef4189eafeb0023ea1b16f6d2f328ac93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib", "rlib"] [dependencies] -bincode = "1.3.3" +bincode = "2.0.0" getrandom = { version = "*", features = ["js"] } # Allow rand to get random numbers. js-sys = "0.3.58" rand = "0.8.5"