tungstenite:0.24 has url feature which is optional, added since connection uses a parsed url::Url
Other general crate updates
Tungstenite update
read_message and write_message are deprecated and replaced with read and send, respectively
General/small fixes
error_chain::bail already expands to return .., and multiple times return bail!(..) was called which expands to return return ... Removed unnecessary return
in binance::util::is_start_time_valid, made the if-statement branchless
Updated deps in
Cargo.toml
clap
(unused)tungstenite:0.24
hasurl
feature which is optional, added since connection uses a parsedurl::Url
Tungstenite update
read_message
andwrite_message
are deprecated and replaced withread
andsend
, respectivelyGeneral/small fixes
error_chain::bail
already expands toreturn ..
, and multiple timesreturn bail!(..)
was called which expands toreturn return ..
. Removed unnecessary returnbinance::util::is_start_time_valid
, made the if-statement branchless