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

dholroyd / mpeg2ts-reader / 8146470669
81%

Build:
DEFAULT BRANCH: master
Ran 04 Mar 2024 08:19PM UTC
Jobs 1
Files 13
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

04 Mar 2024 08:18PM UTC coverage: 83.029% (-0.5%) from 83.565%
8146470669

push

github

dholroyd
Convert StreamType and StreamId types to structs

The use of enums for these types presented a problem for backwards
compatibility.  If code was written to make use of the Reserved(u8) or
Unknown(u8) variants, and then in future we add an explicit variant to the enum
of that particular value becomes defined by the spec, then code expecting to
expect that value to be available in e.g. Reserved will silently break - it
will not hit a compilation error, but it will not do the expected thing any
more at runtime.  By converting these types to simply u8 wrappers calling code
can just construct their own instances for values not currently defined in the
spec, and those values will be compatible with any definitions that this crate
adds in future.

Benchmarking shows a very slight performance improvement with this change (sub
1%).

71 of 72 new or added lines in 3 files covered. (98.61%)

1 existing line in 1 file now uncovered.

1047 of 1261 relevant lines covered (83.03%)

23316.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8146470669.1 04 Mar 2024 08:19PM UTC 0
83.03
GitHub Action Run
Source Files on build 8146470669
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #8146470669
  • c45ad21a on github
  • Prev Build on master (#8146232123)
  • Next Build on master (#8147049936)
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