3 releases
Uses new Rust 2024
| new 0.1.6 | Jan 27, 2026 |
|---|---|
| 0.1.4 | Jan 27, 2026 |
| 0.1.3 | Jan 27, 2026 |
#17 in #fix-protocol
220KB
4K
SLoC
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
memchrfor 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 definitionsdictionary: FIX specification parsing and dictionary managementtagvalue: Zero-copy tag=value encoding and decodingsession: Session layer protocol implementationstore: Message persistence and storagetransport: Network transport layerfast: FAST protocol encoding and decodingengine: High-level engine facade Core types, traits, and error definitions. FIX specification parsing and dictionary management. Zero-copy tag=value encoding and decoding. Session layer protocol implementation. Message persistence and storage. Network transport layer. FAST protocol encoding and decoding. High-level engine facade.
IronFix
License: MIT
Dependencies
~9–13MB
~154K SLoC