1#![forbid(unsafe_code)]
30
31pub mod application;
32pub mod datadictionary;
33pub mod engine;
34#[cfg(feature = "fix44")]
35pub mod fix44;
36#[cfg(feature = "fix50")]
37pub mod fix50;
38#[cfg(feature = "fixt11")]
39pub mod fixt11;
40pub mod error;
41pub mod field_map;
42pub mod log;
43pub mod message;
44pub mod parser;
45pub mod schedule;
46pub mod session;
47pub mod session_id;
48pub mod settings;
49pub mod store;
50pub mod tags;
51#[cfg(feature = "tls")]
52mod tls;
53mod transport;
54pub mod value;
55
56pub use application::{
57 Application, ApplicationError, ChannelApplication, DoNotSend, SessionEvent, event_channel,
58};
59pub use datadictionary::{DataDictionary, ValidationSettings};
60pub use engine::Engine;
61pub use error::{Error, RejectError, Result, SessionRejectReason};
62pub use field_map::{FieldMap, GroupTemplate};
63pub use log::{FileLogFactory, Log, LogFactory, NullLogFactory, Rotation, TracingLogFactory};
64pub use message::{Message, Tag};
65pub use session::{SessionHandle, SessionStatus};
66pub use session_id::SessionId;
67pub use settings::{ConnectionType, SessionConfig, Settings, TlsSettings};
68pub use store::{
69 FileStoreFactory, MemoryStoreFactory, MessageStore, MessageStoreFactory,
70};
71pub use value::{FixDate, TimestampPrecision, UtcTimestamp};
72
73#[cfg(feature = "decimal")]
79pub type Amount = rust_decimal::Decimal;
80#[cfg(not(feature = "decimal"))]
81pub type Amount = f64;
82
83#[cfg(feature = "decimal")]
84pub use rust_decimal::{Decimal, dec};