-
Notifications
You must be signed in to change notification settings - Fork 21
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
num-bigint dependency versions causing issues #132
Comments
Downgrade bigdecimal = { version = "0.3.0", features = ["serde"] } This should resolve the issue. |
Reproduced, it's the
@sweatpotato13 is this preferred to just updating the diesel dependency (#139)? |
It would be better if you could solve it by updating the diesel dependency The method I suggested is a temporary solution. |
I wish dependencies of the diesel crate weren't so messed up. It should not depend on loose version ranges of num-bigint and bigdecimal when the latter has a more rigid dependency on num-bigint. |
The bigint dependencies are optional for diesel; any opinions on whether the CLI really needs these features? |
🐛 Bug
Reported on X:
"@movementlabsxyz @MovementLabs Heads up - found a num-bigint version conflict in the CLI build. You've got v0.4.4 and v0.2.6 causing type mismatches in Diesel's PG numeric handling. Quick fix would be pinning to 0.4.4 in the deps 🔧"
https://x.com/ateet7tiwari/status/1884317199873237338?s=12&t=tmz-jeomsRJElwoiMA8B5Q
Opening this issue with intent to investigate and will fill out the issue in more detail.
To reproduce
Code snippet to reproduce
Stack trace/error message
Expected Behavior
A clear and concise description of what you expected to happen.
System information
Please complete the following information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: