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

databendlabs / openraft / 26867642862

03 Jun 2026 06:26AM UTC coverage: 86.567% (+0.04%) from 86.53%
26867642862

push

github

drmingdrmer
docs: annotate 0.10.0 public fields and variants with #[since]

# Summary

Record the introducing version of every public field and enum variant added to
a pre-existing public type during the 0.10.0 cycle. These members were left
unmarked because the `#[since]` macro could not annotate fields or variants
until recently; this fills that gap so the generated docs show when each first
appeared.

# Details

- Add `#[since(version = "0.10.0")]` to the new members of `Config`,
  `ConfigError`, `ChangeMembers`, `Metric`, `RaftMetrics`, `RaftDataMetrics`,
  and `RPCTypes`.
- Convert the hand-written `Since: 0.10.0` doc lines on `Config::backoff`,
  `Config::allow_log_reversion`, and `ConfigError::InvalidBackoff` into the
  `#[since]` attribute now that member-level support exists.
- Give the types that lacked one a container-level `#[since]` (plus the macro
  import); the container attribute is what lets the macro rewrite the
  member-level markers.

16439 of 18990 relevant lines covered (86.57%)

146235.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

59.38
/rt/src/async_runtime.rs


Source Not Available

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