nix changed their Error enum to a re-export of Errno. This breaks shared_memory when nix:0.22 is loaded by Cargo (which in turns breaks our crate zenoh unless we prevent that using the Cargo.lock).
With this PR, I've updated the error handling so that it can compile again. For most of them, it removes one of the match arms :)
Sorry for the bigger than necessary diff on Cargo.toml, my formatter decided to do its thing.
Also, I've noticed you haven't cargo published version 0.12.0, so I didn't increment the version counter.
Let me know if you want some more changes before you feel comfortable publishing this version :)
Hello,
nix
changed theirError
enum to a re-export ofErrno
. This breaksshared_memory
whennix:0.22
is loaded by Cargo (which in turns breaks our cratezenoh
unless we prevent that using theCargo.lock
). With this PR, I've updated the error handling so that it can compile again. For most of them, it removes one of the match arms :)Sorry for the bigger than necessary diff on
Cargo.toml
, my formatter decided to do its thing.Also, I've noticed you haven't
cargo publish
ed version0.12.0
, so I didn't increment the version counter.Let me know if you want some more changes before you feel comfortable publishing this version :)
Have a good day, Pierre.