New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling diesel v1.3.2 with flag bigdecimal throw the error[E0463]: can't find crate for `num_bigint` #1842

Closed
mikhail-krainik opened this Issue Sep 11, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@mikhail-krainik

mikhail-krainik commented Sep 11, 2018

Setup

Versions

  • Rust: rustc 1.30.0-nightly (6e0f1cc15 2018-09-05)
  • Diesel: 1.3.2
  • Database: Postgresql
  • Operating System Linux

Feature Flags

"postgres", "r2d2", "chrono", "uuid", "bigdecimal"

  • diesel:
    1.3.2

Problem Description

Compiling diesel v1.3.2                                                                                                                                                                                         
error[E0463]: can't find crate for `num_bigint`
 --> $HOME/.cargo/registry/src/github.com-1ecc6299db9ec824/diesel-1.3.2/src/pg/types/numeric.rs:4:5
  |
4 |     extern crate num_bigint;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

error: aborting due to previous error

Steps to reproduce

Add diesel features in your Cargo.toml file. Try to run cargo build

Checklist

@mikhail-krainik mikhail-krainik changed the title from Compiling diesel v1.3.2 error[E0463]: can't find crate for `num_bigint` to Compiling diesel v1.3.2 with flags bigdecimal throw the error[E0463]: can't find crate for `num_bigint` Sep 11, 2018

@mikhail-krainik mikhail-krainik changed the title from Compiling diesel v1.3.2 with flags bigdecimal throw the error[E0463]: can't find crate for `num_bigint` to Compiling diesel v1.3.2 with flag bigdecimal throw the error[E0463]: can't find crate for `num_bigint` Sep 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment