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

wboayue / rust-ibapi / 25770647913
92%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 12:36AM 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

13 May 2026 12:34AM UTC coverage: 91.951% (-0.005%) from 91.956%
25770647913

push

github

web-flow
client: drop duplicate Subscription re-export; consolidate prelude (#571)

* client: drop duplicate Subscription re-export; consolidate prelude on subscriptions

`ibapi::client::Subscription` was a duplicate of `ibapi::subscriptions::Subscription`
with zero in-crate consumers — only `prelude.rs:51` reached in via that path.
Drop the `client/mod.rs` re-exports (5 lines) and rewire prelude to source
from `crate::subscriptions` directly. The async path already did; the sync
path's `client::Subscription` indirection was the asymmetry called out in
v3-api-ergonomics.md §2.

Net public-API delta (v3.0):
- Removed: `ibapi::client::Subscription` (duplicate alias).
- Unchanged: `ibapi::subscriptions::Subscription` (canonical), `ibapi::prelude::Subscription`
  (prelude convenience, now symmetric), `ibapi::client::blocking::Subscription`
  (labelled sync-explicit path; needed when both features are enabled).

The `subscriptions::Subscription` re-export is itself feature-gated at the
source (`subscriptions/mod.rs:32,35` — sync when not-async, async otherwise),
so the prelude re-export collapses to a single unconditional line.

Migration note added at docs/migration-3.0.md §13.

Detailed plan: plans/subscription-canonical-import-path.md.

* /simplify pass: collapse prelude orders re-exports; trim plan drafts

Two findings applied from a code-reuse + quality review pass:

1. `pub use crate::orders::{...}` had two identical RHS lines gated by
   mutually exclusive `cfg`s (sync-only vs async) — same anti-pattern
   this PR just fixed for `Subscription`. Collapsed to a single
   unconditional `pub use` since `lib.rs`'s `compile_error!` guarantees
   at least one feature is on.

2. The plan file duplicated the migration-3.0 §13 draft and a concrete
   change sketch. Now that the migration note shipped, the draft has
   drift risk — replaced with a one-line redirect. Concrete-change
   sketch left in place as historical context for the PR.

Also tracked in v3-api-ergono... (continued)

18940 of 20598 relevant lines covered (91.95%)

26.93 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
87.77
-0.18% src/transport/sync/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 25770647913.1 13 May 2026 12:36AM UTC 128
91.95
GitHub Action Run
Source Files on build 25770647913
  • Tree
  • List 128
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25770647913
  • ff399084 on github
  • Prev Build on main (#25766258915)
  • Next Build on main (#25771587600)
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