Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 859 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 859 Bytes

itchy

Build Status Crates.io Version

ITCH parser library for Rust. Implements the NASDAQ 5.0 spec which can be found here.

It is zero-allocation (thanks nom!) and pretty fast, parsing around 20M messages/second on my not-fast laptop.

Usage

Add this to your Cargo.toml:

[dependencies]
itchy = "0.3"

Simple usage example:

let stream = itchy::MessageStream::from_file("/path/to/file.itch").unwrap();
for msg in stream {
    println!("{:?}", msg.unwrap())
}

See the API docs for more information.