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

Finomnis / tokio-graceful-shutdown / 6587198861 / 1
99%
main: 99%

Build:
DEFAULT BRANCH: main
Ran 20 Oct 2023 11:42AM UTC
Files 14
Run time 0s
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

20 Oct 2023 11:37AM UTC coverage: 96.373% (-3.6%) from 100.0%
6587198861.1

push

github

web-flow
Full rewrite (#64)

## Full rewrite of this crate

The main problem was that the API followed the implementation and not the other way round. Some API improvements weren't possible because they weren't implementable.

With the new implementation, several API decisions that bothered me were finally improved.

### Breaking Changes
- Remove `Toplevel::nested` (which was a rather ugly hack), replace with configurable `ErrorAction`s.
- Remove partial shutdown mechanism; replace with `NestedSubsystem::initiate_shutdown()` and `NestedSubsystem::join()`.
- Add `SubsystemHandle::wait_for_children()`.
- Remove `Toplevel::start`. Instead, add a single subsystem to `Toplevel::new`, which can then spawn all further subsystems.
- Rework `SubsystemHandle::start`; it now takes a `SubsystemBuilder` object that provides further subsystem configuration options.
- Minimum Supported Rust Version (MSRV) is now `1.63.0`.


The rest of the API is almost identical and migration should be mostly straight forward.

930 of 965 relevant lines covered (96.37%)

31.69 hits per line

Source Files on job 6587198861.1
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6587198861
  • 926d497a on github
  • Prev Job for on main (#6008153000.1)
  • Next Job for on main (#13603006947.1)
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