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

toml-rs / toml / 15742043357
81%

Build:
DEFAULT BRANCH: main
Ran 18 Jun 2025 07:41PM UTC
Jobs 1
Files 126
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

18 Jun 2025 07:39PM UTC coverage: 69.3% (+0.03%) from 69.272%
15742043357

push

github

web-flow
feat(toml): Add support for bignum, u64, u128, i128 (#958)

Regarding integers, the TOML spec says

> Arbitrary 64-bit signed integers (from −2^63 to 2^63−1) should be
accepted and handled losslessly. If an integer cannot be represented
losslessly, an error must be thrown.

Regarding floats:

> Floats should be implemented as IEEE 754 binary64 values.

toml-lang/toml#1058 is clarifying these to mean that larger of both is
allowed.

This PR adds parse support to `toml` for big num, `u64`, `u128`, and
`i128`. This only adds deserialization support for `u64`, `u128`, and
`i128`. This does not yet add any serialization support or `toml::Value`
support for any of these.

As this just defers what we were already going to to and the happy path
was what we were already doing, I didn't bother putting this behind a
feature flag like `serde_json`.

69 of 105 new or added lines in 9 files covered. (65.71%)

6 existing lines in 1 file now uncovered.

6228 of 8987 relevant lines covered (69.3%)

6.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
49.09
-10.91% crates/toml/src/de/parser/value.rs
2
97.09
0.0% crates/toml/src/de/error.rs
3
63.38
4.23% crates/toml/src/de/mod.rs
4
91.0
0.0% crates/toml_edit/src/error.rs
8
49.35
-4.82% crates/toml_edit/src/de/mod.rs
18
27.07
8.44% crates/toml/src/de/devalue.rs

Uncovered Existing Lines

Lines Coverage ∆ File
6
49.35
-4.82% crates/toml_edit/src/de/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 15742043357.1 18 Jun 2025 07:40PM UTC 126
69.3
GitHub Action Run
Source Files on build 15742043357
  • Tree
  • List 126
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3b43cbe1 on github
  • Prev Build on main (#15691468015)
  • Next Build on main (#15742392270)
  • Delete
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