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

databendlabs / openraft / 11339553314
90%
main: 88%

Build:
Build:
LAST BUILD BRANCH: release-0.10
DEFAULT BRANCH: main
Ran 15 Oct 2024 05:03AM UTC
Jobs 1
Files 224
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

15 Oct 2024 03:38AM UTC coverage: 83.551%. Remained the same
11339553314

push

github

drmingdrmer
Improve: remove `Copy` bound from `NodeId`

The `NodeId` type is currently defined as:

```rust
type NodeId: .. + Copy + .. + 'static;
```

This commit removes the `Copy` bound from `NodeId`.
This modification will allow the use of non-`Copy` types as `NodeId`,
providing greater flexibility for applications that prefer
variable-length strings or other non-`Copy` types for node
identification.

This change maintain compatibility by updating derived `Copy`
implementations with manual implementations:

```rust
// Before
#[derive(Copy...)]
pub struct LogId<NID: NodeId> {}

// After
impl<NID: Copy> Copy for LogId<NID> {}
```

117 of 122 new or added lines in 27 files covered. (95.9%)

22 existing lines in 5 files now uncovered.

8132 of 9733 relevant lines covered (83.55%)

22.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11339553314.1 15 Oct 2024 05:03AM UTC 0
83.55
GitHub Action Run
Source Files on build 11339553314
Detailed source file information is not available for this build.
  • Back to Repo
  • dc18dc6f on github
  • Prev Build on release-0.9 (#11338749553)
  • Next Build on release-0.9 (#11339585829)
  • 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