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

powersemmi / ruststream / 34702892177 / 1
96%
main: 96%

Build:
DEFAULT BRANCH: main
Ran 12 Sep 2026 03:44PM UTC
Files 95
Run time 2s
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

12 Sep 2026 03:39PM UTC coverage: 97.317% (+0.01%) from 97.305%
34702892177.1

push

github

web-flow
feat: carry a broker's per-message settings as typed options on the publish builder (#330)

* feat(#327): carry a broker's per-message settings as typed options on the publish builder

A broker's per-message settings (a QoS, a priority, an ordering key) become a
type the broker owns: `Publisher::Options`, defaulted by the publish policy at
the mount site and adjusted per call through steps the broker adds to the
publish builder. Nothing wraps a publisher any more, so a publish with a
setting keeps the mount site's codec, transforms and slot attribution instead
of silently falling back to the crate default. The settings no longer travel
as header strings.

`Transaction` names the same options type, so a publish inside an owned
transaction carries the same settings as one outside it. Paths with no call
site (a reply, the deferred `retry_after` copy) pass no options and the
policy's defaults apply; `ErasedPublisher` stays object-safe and unchanged.

Breaking for every broker crate: `Publisher`, `Transaction` and `PublishSink`
gain a required associated type and `publish` / `send` take the options;
`PublishPipeline::run` and `OutPipeline::send` carry them through. A handler
body that adjusts a setting names the broker's options type in its bound and
imports that broker's prelude, the stated exception to the prelude rule.

* docs(#327): a transaction names an options type of its own

A transaction is a publish surface of its own and may honour a different
set of per-message settings than the publisher it was opened from, so the
contract does not tie the two types together. The rustdoc and the broker
author guide said "the same type"; they now say what the bound says.

* test(#327): prove the policy defaults reach the Reply position

A reply has no call site to adjust the broker's per-message settings, so
the policy named for the `Reply` position is the whole answer. The two
options suites now cover that position next to the slot, the transaction
scope and ... (continued)

12768 of 13120 relevant lines covered (97.32%)

187.81 hits per line

Source Files on job 34702892177.1
  • Tree
  • List 95
  • Changed 26
  • Source Changed 26
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 34702892177
  • cda09038 on github
  • Prev Job for on main (#34702637961.1)
  • Next Job for on main (#34729820885.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc