rustyfixml 0.7.4

FIXML (XML-based FIX) encoding for RustyFix
Documentation

RustyFIXML - XML-based FIX Message Encoding

High-performance FIXML (Financial Information eXchange Markup Language) encoding/decoding for FIX messages optimized for trading systems.

Features

  • Complete FIXML 1.1 specification support
  • High-performance XML parsing with quick-xml
  • Zero-copy string processing where possible
  • Streaming XML processing for large messages
  • Comprehensive message validation
  • Schema-aware encoding/decoding

Example

use rustyfixml::{FixmlEncoder, FixmlDecoder, FixmlMessage};

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let encoder = FixmlEncoder::new();
    let message = FixmlMessage::new_order_single(
        "BTCUSD".to_string(),
        50000.0,
        1.0,
        "1".to_string()
    );
    let xml = encoder.encode(&message)?;

    let decoder = FixmlDecoder::new();
    let decoded = decoder.decode(&xml)?;
    Ok(())
}