Skip to main content

Crate ironfix_example

Crate ironfix_example 

Source
Expand description

§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

Modules§

core
Core types, traits, and error definitions.
dictionary
FIX specification parsing and dictionary management.
engine
High-level engine facade.
fast
FAST protocol encoding and decoding.
prelude
Prelude module for convenient imports.
session
Session layer protocol implementation.
store
Message persistence and storage.
tagvalue
Zero-copy tag=value encoding and decoding.
transport
Network transport layer.