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

Finomnis / tokio-graceful-shutdown / 6587198861
99%

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

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.

816 of 816 new or added lines in 13 files covered. (100.0%)

930 of 965 relevant lines covered (96.37%)

31.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6587198861.1 20 Oct 2023 11:42AM UTC 0
96.37
GitHub Action Run
Source Files on build 6587198861
Detailed source file information is not available for this build.
  • Back to Repo
  • 926d497a on github
  • Prev Build on main (#6008153000)
  • Next Build on main (#13603006947)
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