ironfix-example 0.1.6

High-performance FIX/FAST protocol engine for Rust
Documentation

IronFix

A high-performance FIX/FAST protocol engine for Rust.

IronFix provides a complete implementation of the FIX protocol with support for all versions from FIX 4.0 through FIX 5.0 SP2, as well as FAST-encoded market data.

Features

  • Zero-copy parsing: Field values reference the original buffer
  • SIMD-accelerated: Uses memchr for fast delimiter search
  • Type-safe: Compile-time checked session states and message types
  • Async support: Built on Tokio for high-performance networking
  • Flexible: Supports both sync and async operation modes

Quick Start

use ironfix_example::prelude::*;

// Create an engine with your application handler
let engine = EngineBuilder::new()
    .with_application(MyApplication)
    .add_session(SessionConfig::new(
        CompId::new("SENDER").unwrap(),
        CompId::new("TARGET").unwrap(),
        "FIX.4.4",
    ))
    .build();

Crate Organization

  • [core]: Fundamental types, traits, and error definitions
  • [dictionary]: FIX specification parsing and dictionary management
  • [tagvalue]: Zero-copy tag=value encoding and decoding
  • [session]: Session layer protocol implementation
  • [store]: Message persistence and storage
  • [transport]: Network transport layer
  • [fast]: FAST protocol encoding and decoding
  • [engine]: High-level engine facade