Expand description
truefix-core — FIX message model, field types, and the SOH wire codec.
Provides Field, FieldMap, Group, and Message (header/body/trailer),
plus encode/decode that compute and verify BodyLength (tag 9) and CheckSum
(tag 10). All parsing returns typed errors and never panics (Constitution Principle I).
Repeating-group structure is modelled here; dictionary-driven group parsing from a
flat wire message arrives with truefix-dict (Stage S4). At this layer, decoding yields
flat ordered fields, which still round-trips byte-for-byte.
Design: specs/001-fix-engine-parity/.
Re-exports§
pub use codec::decode;pub use codec::decode_with_groups;pub use codec::encode;pub use codec::encode_with_order;pub use codec::restructure_groups;pub use cracker::MessageCracker;pub use error::BusinessReject;pub use error::DecodeError;pub use error::DoNotSend;pub use error::FieldError;pub use error::Reject;pub use factory::MessageFactory;pub use field::Field;pub use field_map::FieldMap;pub use field_map::MemberRef;pub use framing::MAX_BODY_LEN;pub use framing::frame_length;pub use group::Group;pub use group::GroupSpec;pub use message::Message;pub use tags::SOH;
Modules§
- codec
- The SOH wire codec:
encodeanddecode. - cracker
- Typed message dispatch contract.
- error
- Typed errors for the core layer. No code path panics (Constitution Principle I).
- factory
- Message construction contract.
- field
- FIX fields and their typed value converters.
- field_
map - An ordered collection of fields and nested repeating groups.
- framing
- Extract complete FIX messages from a byte stream.
- group
- Repeating-group builder.
- message
- A FIX message: header, body, and trailer field maps.
- tags
- Standard FIX tag numbers and header/trailer classification (version-agnostic core set).