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

baoyachi / duration-str
76%
master: 73%

Build:
Build:
LAST BUILD BRANCH: merge-deserialize-funcs
DEFAULT BRANCH: master
Repo Added 11 May 2024 04:56PM UTC
Token OdhXLTMMDclqAfX2VofbQT3N7wX4eUlC2 regen
Build 127 Last
Files 6
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

LAST BUILD ON BRANCH option_value_is_empty
branch: option_value_is_empty
CHANGE BRANCH
x
Reset
Sync Branches
  • option_value_is_empty
  • chinese_unit
  • code_refactor
  • dependabot/cargo/criterion-0.5
  • dependabot/cargo/criterion-0.6
  • dependabot/cargo/criterion-0.8
  • dependabot/cargo/thiserror-2.0.0
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/setup-node-4
  • dependabot/github_actions/actions/setup-node-5
  • dependabot/github_actions/actions/setup-node-6
  • dependabot/github_actions/hecrj/setup-rust-action-2
  • dependabot/github_actions/peaceiris/actions-gh-pages-4
  • dependabot/github_actions/pnpm/action-setup-4
  • dependabot/npm_and_yarn/playground/site/npm_and_yarn-6ea9762674
  • dependabot/npm_and_yarn/playground/site/npm_and_yarn-a274ede39d
  • dependabot/npm_and_yarn/playground/site/npm_and_yarn-c0657a3c3e
  • exclude_playground_from_crate
  • fix_github_action
  • issue/23
  • issue/47
  • issue/54
  • itohatweb/feat/support-plural
  • master
  • merge-deserialize-funcs
  • performance_optimization
  • refs/tags/v0.11.0
  • refs/tags/v0.11.1
  • refs/tags/v0.11.2
  • refs/tags/v0.11.3
  • refs/tags/v0.12.0
  • refs/tags/v0.13.0
  • refs/tags/v0.14.0
  • refs/tags/v0.15.0
  • refs/tags/v0.15.1
  • refs/tags/v0.16.0
  • refs/tags/v0.16.1
  • refs/tags/v0.17.0
  • refs/tags/v0.18.0
  • unit-spacing
  • winnow_0.7

28 Jan 2026 08:05AM UTC coverage: 76.351% (+0.2%) from 76.19%
21444049894

Pull #88

github

baoyachi
fix(serde): treat empty string as None for Option<Duration>

Previously, deserializing "" into Option<Duration> would fail with
'Empty input' error. Now it correctly returns None.

- Add empty string check in des_option_duration macro
- Add test case for empty string handling

Fixes #79
Pull Request #88: fix(serde): treat empty string as None for Option<Duration>

2 of 2 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

226 of 296 relevant lines covered (76.35%)

2.22 hits per line

Relevant lines Covered
Build:
Build:
296 RELEVANT LINES 226 COVERED LINES
2.22 HITS PER LINE
Source Files on option_value_is_empty
  • Tree
  • List 6
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21444049894 option_value_is_empty fix(serde): treat empty string as None for Option<Duration> Previously, deserializing "" into Option<Duration> would fail with 'Empty input' error. Now it correctly returns None. - Add empty string check in des_option_duration macro - Add test c... Pull #88 28 Jan 2026 03:28PM UTC baoyachi github
76.35
21444054070 option_value_is_empty Merge 43d1a8d22 into 6c0bc4ad9 Pull #88 28 Jan 2026 03:27PM UTC web-flow github
76.35
See All Builds (121)

Badge your Repo: duration-str

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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