nash-io / openlimits

A Rust high performance cryptocurrency trading API with support for multiple exchanges and language wrappers.
http://openlimits.io
BSD 2-Clause "Simplified" License
275 stars 44 forks source link

Remove panic for nash/binance implementation so clients can handle socket errors #113

Closed jankjr closed 3 years ago

jankjr commented 3 years ago

Changes how nash-protocol messages are handled to avoid a panic in openlimits.

This allows clients to handle the error instead of getting a panic!.