itchy

Crates.ioitchy
lib.rsitchy
version0.2.3
sourcesrc
created_at2017-08-24 17:10:30.903165
updated_at2023-02-26 16:26:55.313649
descriptionNom-based parser library for NASDAQ ITCH protocol
homepage
repositoryhttps://github.com/adwhit/itchy-rust
max_upload_size
id28860
size47,105
(adwhit)

documentation

README

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!) pretty fast, parsing around 20M messages/second on my XPS 9370.

Usage

Add this to your Cargo.toml:

[dependencies]
itchy = "0.2"

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.

Commit count: 62

cargo fmt