If I clone, remove Cargo.lock to work around issue #24 and cargo build --release I get the error in title. Also without "--release" same error.
Full error is:
Compiling num-rational v0.1.37
error[E0412]: cannot find type `BigInt` in this scope
--> /home/gianmarco/.cargo/registry/src/github.com-1ecc6299db9ec823/num-rational-0.1.37/src/lib.rs:671:30
|
671 | impl FromPrimitive for Ratio<BigInt> {
| ^^^^^^ not found in this scope
error: no associated item named `from_float` found for type `Ratio<_>` in the current scope
--> /home/gianmarco/.cargo/registry/src/github.com-1ecc6299db9ec823/num-rational-0.1.37/src/lib.rs:681:9
|
681 | Ratio::from_float(n)
| ^^^^^^^^^^^^^^^^^
error: no associated item named `from_float` found for type `Ratio<_>` in the current scope
--> /home/gianmarco/.cargo/registry/src/github.com-1ecc6299db9ec823/num-rational-0.1.37/src/lib.rs:685:9
|
685 | Ratio::from_float(n)
| ^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors
error: Could not compile `num-rational`.
Also, in the installation instruction, I would suggest you to compile with --release.
If I clone, remove Cargo.lock to work around issue #24 and
cargo build --releaseI get the error in title. Also without "--release" same error.Full error is:
Also, in the installation instruction, I would suggest you to compile with --release.