diff --git a/Cargo.lock b/Cargo.lock index 979d5966e..1acbe4136 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3760,13 +3760,12 @@ dependencies = [ [[package]] name = "shared_memory" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba8593196da75d9dc4f69349682bd4c2099f8cde114257d1ef7ef1b33d1aba54" +version = "0.12.5" +source = "git+https://github.com/phil-opp/shared_memory.git?branch=read-only#dac07946862bfe459425a86238c7251fd6ee3770" dependencies = [ "cfg-if", "libc", - "nix 0.23.2", + "nix 0.26.2", "rand", "win-sys", ] diff --git a/Cargo.toml b/Cargo.toml index ea907ef70..6df8b06c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -92,3 +92,7 @@ path = "examples/python-operator-dataflow/run.rs" [[example]] name = "benchmark" path = "examples/benchmark/run.rs" + +[patch.crates-io.shared_memory] +git = "https://github.com/phil-opp/shared_memory.git" +branch = "read-only"