Also update to the latest versions of the dependencies. I used
cargo update, cargo upgrades, cargo upgrade and cargo outdated.
Outdated did the "best" but it didn't update [dev-dependencies] and
[build-dependencies] to the very latest so I manually updated them.
The other goal of the updating to the latest versions was to eliminate
the duplicate versions of the same crate. Initially there were a bunch
but after updating now cargo tree -d shows there are none!
As you can see I did need to make a minor tweak to binance_signature and
have it use new_from_slice as new_varkey has been removed.
Finally, edition 2021 doesn't work on the old nightly and rustfmt is
now working again on nightly so back to using the "nightly" toolchain
rather and "nightly-2021-03-25". Which also means clippy complained about
additional items so fixed those in binance_auto_buy.rs,
binance_auto_sell.rs, common.rs and configuration.rs.
Also update to the latest versions of the dependencies. I used
cargo update
,cargo upgrades
,cargo upgrade
andcargo outdated
. Outdated did the "best" but it didn't update [dev-dependencies] and [build-dependencies] to the very latest so I manually updated them.The other goal of the updating to the latest versions was to eliminate the duplicate versions of the same crate. Initially there were a bunch but after updating now
cargo tree -d
shows there are none!As you can see I did need to make a minor tweak to binance_signature and have it use new_from_slice as new_varkey has been removed.
Finally, edition 2021 doesn't work on the old nightly and rustfmt is now working again on nightly so back to using the "nightly" toolchain rather and "nightly-2021-03-25". Which also means clippy complained about additional items so fixed those in binance_auto_buy.rs, binance_auto_sell.rs, common.rs and configuration.rs.