diff --git a/Cargo.toml b/Cargo.toml index af7fa13..7bd34de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,11 @@ num-complex = { version = "0.4", optional = true } num-bigint = { version = "0.4", optional = true } num-traits = { version = "0.2", optional = true } num-integer = { version = "0.1", optional = true } -malachite-bigint = { version = "0", optional = true } # malachite upgrades minor version a lot +# Bounded to ONE malachite minor: 0.x minors are semver-incompatible, so `"0"` lets a fresh +# build pick a newer malachite-bigint than the RustPython release depending on this crate, +# and the two copies' BigInt types do not unify. Bump this together with RustPython's own +# malachite-bigint requirement, as a new minor of this crate. +malachite-bigint = { version = "0.14", optional = true } [dev-dependencies] divan = { version = "5.0.1", package = "codspeed-divan-compat" }