diff --git a/Cargo.toml b/Cargo.toml index 677c4bb6b88..614da4f787b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ rust-version = "1.56" cfg-if = "1.0" libc = "0.2.62" parking_lot = ">= 0.11, < 0.13" -memoffset = "0.9" +memoffset = { version = "0.9", features = ["unstable_offset_of"] } # ffi bindings to the python interpreter, split into a separate crate so they can be used independently pyo3-ffi = { path = "pyo3-ffi", version = "=0.20.0" }