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

kaidokert / krabitls-rs / 30758434247
85%

Build:
DEFAULT BRANCH: main
Ran 02 Aug 2026 05:15PM UTC
Jobs 1
Files 29
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

02 Aug 2026 05:14PM UTC coverage: 84.849% (-0.2%) from 85.016%
30758434247

push

github

web-flow
Non-blocking TlsStream::try_read for event-loop use (#121)

* Add non-blocking TlsStream::try_read for event-loop use

A blocking `TlsStream::read` parks the whole network stack for the idle
interval, so a single-threaded event loop (service the stack, react to inbound,
fire timers) can't interleave TLS reads with other work — the concrete blocker
for servicing an MQTT session between keepalives.

`Transport` gains `read_nb` (nb-free: `Ok(Some(n))` = bytes, `Ok(None)` = nothing
yet); its default delegates to the blocking `read`, so existing transports are
unchanged. `TlsStream::try_read` is the blocking `read` loop with a non-blocking
`Recv` arm — it returns `Ok(None)` on would-block instead of parking, while still
servicing outbound TLS records. No engine change (it's already sans-io).

19 of 34 new or added lines in 2 files covered. (55.88%)

101 existing lines in 2 files now uncovered.

5029 of 5927 relevant lines covered (84.85%)

157.96 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
70.63
-0.83% krabitls/src/client/stream.rs
3
66.67
-33.33% krabitls/src/client/transport.rs

Coverage Regressions

Lines Coverage ∆ File
98
70.63
-0.83% krabitls/src/client/stream.rs
3
66.67
-33.33% krabitls/src/client/transport.rs
Jobs
ID Job ID Ran Files Coverage
1 30758434247.1 02 Aug 2026 05:15PM UTC 29
84.85
GitHub Action Run
Source Files on build 30758434247
  • Tree
  • List 29
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30758434247
  • 0dc2055e on github
  • Prev Build on main (#30739659137)
  • Next Build on main (#30763259799)
  • 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