Skip to content

## πŸš€ Add pure Rust Dictionary implementation #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Soroushsrd
Copy link

@Soroushsrd Soroushsrd commented Jun 7, 2025

This PR starts the gradual replacement of quickfix-ffi with quickfix-native as discussed in #21.

What's included:

  • βœ… Pure Rust Dictionary implementation
  • βœ… Matches C++ QuickFIX API exactly
  • βœ… Error handling with NativeError
  • βœ… Type-safe key-value operations (string, int, double, bool, day-of-week)

Next steps:

  • Full test coverage for implemented changes
  • SessionID implementation
  • Message/Header/Trailer types
  • ...

- Implement SessionID struct with field types
- Add BeginString, SenderCompID, TargetCompID fields
- Support parsing from string format
(BeginString:Sender->Target[:Qualifier])
- Include unit tests
- Add Display and TryFrom traits
@Soroushsrd
Copy link
Author

Latest Update: SessionID Implementation βœ…

Added pure Rust SessionID with:

  • String parsing matching C++ fromString() logic
  • Basic field types (BeginString, SenderCompID, TargetCompID)
  • Test coverage
  • Idiomatic Rust traits (Display, TryFrom)

What's included so far:

βœ… Pure Rust Dictionary implementation
βœ… SessionID implementation
βœ… Basic field types
βœ… Error handling with NativeError
βœ… Type-safe operations matching C++ API

Working on next:

  • More field types as needed
  • Message/Header/Trailer types
  • Coverage improvements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant