Bitstamp.net Websocket Order Book Code Review

Hello,

I have written my first toy project in Rust and it's a websocket client that connects to Bitstamp.net and builds the orderbook.

I would appreciate any feedback as to where I can improve my code and add more Rust idioms.

README: GitHub - natehouk/websocket: A simple toy websocket client to connect to Bitstamp.net and print the live order book written in Rust.
CODE: websocket/main.rs at master · natehouk/websocket · GitHub

Kind regards,
Nate

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.