• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wboayue / rust-ibapi / 26000043600
92%

Build:
DEFAULT BRANCH: main
Ran 17 May 2026 07:10PM UTC
Jobs 1
Files 128
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 May 2026 07:08PM UTC coverage: 92.06% (+0.05%) from 92.01%
26000043600

push

github

web-flow
messages: sort module — promote user-facing types; hide wire internals (#577)

* messages: sort module — promote user-facing types to crate root; hide wire internals

pub mod messages → pub(crate) mod messages (src/lib.rs:110).

User-facing types re-exported from crate root (added via doc(inline)):
- Notice, NoticeCategory
- IncomingMessages, OutgoingMessages, ResponseMessage
- WARNING_CODE_RANGE, SYSTEM_MESSAGE_CODES,
  ORDER_REJECTION_CODE_RANGE, ORDER_CANCELLED_CODE

Notice + NoticeCategory added to the prelude.

ResponseMessage stays pub: forced by StartupMessage::Other(ResponseMessage)
in src/connection/common.rs:40. Future PR can re-shape that variant
payload to retire the leak.

Wire internals demoted to pub(crate): RequestMessage, PROTOBUF_MSG_ID,
encode_length, encode_protobuf_message, encode_raw_length, order_id_index,
request_id_index. RequestMessage::{encode,encode_simple,from,from_simple}
narrowed to pub(crate) and given an impl-block #[allow(dead_code)] (cross-
feature dead-code; matches the existing pattern on encode_simple.

Narrowing surfaced dead code:
- encode_request_binary_from_text — deleted (no callers).

parser_registry reachable via #[doc(hidden)] pub use crate::messages::parser_registry
at the crate root for examples/record_interactions.rs (updated to new paths).

Doc-comment cleanup:
- Notice + NoticeCategory examples now use ibapi::{Notice, NoticeCategory}.
- ResponseMessage::request_id rustdoc link to private request_id_index
  removed; description kept inline.

Migration guide §17 added.

PR 3 of plans/hide-internal-types.md.
EOF
)

* messages: /simplify fixups — cfg-gate RequestMessage helpers; split re-exports

(a) impl RequestMessage block: replaced #[allow(dead_code)] with
    #[cfg(all(test, feature = "sync"))]. All four helpers (encode,
    encode_simple, from, from_simple) have their only callers in
    src/transport/sync/tests.rs — the cfg is more honest than blanket
    dead_code, and matches the per-fn / per-blo... (continued)

8 of 8 new or added lines in 1 file covered. (100.0%)

18956 of 20591 relevant lines covered (92.06%)

27.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26000043600.1 17 May 2026 07:10PM UTC 128
92.06
GitHub Action Run
Source Files on build 26000043600
  • Tree
  • List 128
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26000043600
  • e1c0135d on github
  • Prev Build on main (#25999805501)
  • Next Build on main (#26000120174)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc