crypto-crawler

Crawl websocket messages from crypto exchanges.

Example

```rust use crypto_crawler::{BinanceCrawler, CryptoCrawler};

fn main() { let mut wsclient = BinanceCrawler::new(Box::new(|msg| println!("{}", msg)), None); let channels = vec!["btcusdt@aggTrade".tostring(), "btcusdt@depth".tostring(),]; wsclient.subscribe(&channels); wsclient.run(None); wsclient.close(); } ```