mhogrefe / malachite

An arbitrary-precision arithmetic library for Rust.
GNU Lesser General Public License v3.0
448 stars 17 forks source link

Unresolved import `malachite_q` #6

Closed ruescasd closed 1 year ago

ruescasd commented 1 year ago

When building:

error[E0432]: unresolved import `malachite_q`
 --> C:\Users\ruesc\.cargo\registry\src\github.com-1ecc6299db9ec823\malachite-0.3.0\src\lib.rs:7:9
  |
7 | pub use malachite_q::Rational;
  |         ^^^^^^^^^^^ use of undeclared crate or module `malachite_q`
  |
help: there is a crate or module with a similar name
  |
7 | pub use malachite_nz::Rational;
  |         ~~~~~~~~~~~~

Cargo.toml dependency:

version = "0.3.0"
default-features = false
features = [ "naturals_and_integers" ]
mhogrefe commented 1 year ago

I just released Malachite 0.3.1, which fixes this bug. Please let me know if upgrading to this version doesn't work for you.

ruescasd commented 1 year ago

Works for me thanks!