interledger / interledger-rs

An easy-to-use, high-performance Interledger implementation written in Rust
http://interledger.rs
Other
201 stars 70 forks source link

Fix build on Rust 1.45.0 and up #654

Closed niklaslong closed 4 years ago

niklaslong commented 4 years ago

This fixes the f64 to u64 conversion and associated bounds for the outgoing amount in the exchange rate calculation.

Included:

niklaslong commented 4 years ago

@ljedrz CI fails (no test is actually failing, might be because circleci is having some issues?) though it's green locally. I don't have the permissions to re-run the build on this.

In addition to the fixes discussed, I've also fixed a new 1.47 release related clippy lint.