melin_types/lib.rs
1//! Shared trading domain primitives (`Side`, `TimeInForce`, `AccountId`, …)
2//! and little-endian encoding helpers, extracted from `melin-trading` so
3//! that crates which only need the wire-level data model (the protocol
4//! codec, market-data publishers, gateway crates) don't transitively pull
5//! the trading engine glue.
6//!
7//! `melin-trading` re-exports both modules for backwards compatibility,
8//! so existing `melin_trading::types::*` / `melin_trading::le::*` paths
9//! keep resolving while consumers migrate.
10
11#![cfg_attr(not(test), deny(clippy::unwrap_used))]
12
13pub mod le;
14pub mod types;