diff --git a/Cargo.lock b/Cargo.lock index de28934..e057dd7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -741,6 +741,12 @@ dependencies = [ "serde", ] +[[package]] +name = "bincode" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd6a120d2e16b3e1b4a24bd70f23b12d3e16b81f113364a26935f8db7245452d" + [[package]] name = "bindgen" version = "0.72.1" @@ -1450,7 +1456,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "643b47d510032a01e5af70dca288b0c5ec531646c1a8392e793fb5b0c13bef30" dependencies = [ "anyhow", - "bincode", + "bincode 1.3.3", "bytes", "cfg-if", "foyer-tokio", @@ -2761,7 +2767,7 @@ name = "pacer-cache" version = "0.1.0" dependencies = [ "anyhow", - "bincode", + "bincode 3.0.0", "bytes", "crc32fast", "foyer", diff --git a/Cargo.toml b/Cargo.toml index 330eabc..b61bb61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -126,7 +126,7 @@ serde = { version = "1", features = ["derive"] } # cache directory written by a previous build contains and the hand-written codec # has to keep reading it — and because `foyer::Error::bincode_error` takes a # `bincode::Error`, which is only the same type across one major. -bincode = "1" +bincode = "3" # YAML config file (ADR-0013). serde_yaml (dtolnay) is archived; serde_yaml_ng # is the maintained API-compatible fork. serde_yaml_ng = "0.10"