eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
444 stars 22 forks source link

[#195] introduce sliced api #204

Closed elfenpiff closed 1 month ago

elfenpiff commented 2 months ago

Notes for Reviewer

Pre-Review Checklist for the PR Author

  1. [x] Add sensible notes for the reviewer
  2. [x] PR title is short, expressive and meaningful
  3. [x] Relevant issues are linked in the References section
  4. [x] Every source code file has a copyright header with SPDX-License-Identifier: Apache-2.0 OR MIT
  5. [x] Branch follows the naming format (iox2-123-introduce-posix-ipc-example)
  6. [x] Commits messages are according to this guideline
    • [x] Commit messages have the issue ID ([#123] Add posix ipc example)
    • [x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)
  7. [x] Tests follow the best practice for testing
  8. [x] Changelog updated in the unreleased section including API breaking changes
  9. [x] Assign PR to reviewer
  10. [x] All checks have passed (except task-list-completed)

Checklist for the PR Reviewer

Post-review Checklist for the PR Author

  1. [ ] All open points are addressed and tracked via issues

References

Closes #195

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 87.75895% with 65 lines in your changes are missing coverage. Please review.

Project coverage is 78.70%. Comparing base (0b85089) to head (cbe3cc3).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204/graphs/tree.svg?width=650&height=150&src=pr&token=FN3YFXTJCI&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx)](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx) ```diff @@ Coverage Diff @@ ## main #204 +/- ## ========================================== + Coverage 78.53% 78.70% +0.16% ========================================== Files 181 182 +1 Lines 19984 20204 +220 ========================================== + Hits 15695 15902 +207 - Misses 4289 4302 +13 ``` | [Files](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx) | Coverage Δ | | |---|---|---| | [iceoryx2-bb/elementary/src/alignment.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree&filepath=iceoryx2-bb%2Felementary%2Fsrc%2Falignment.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDItYmIvZWxlbWVudGFyeS9zcmMvYWxpZ25tZW50LnJz) | `100.00% <100.00%> (ø)` | | | [iceoryx2-bb/elementary/src/math.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree&filepath=iceoryx2-bb%2Felementary%2Fsrc%2Fmath.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDItYmIvZWxlbWVudGFyeS9zcmMvbWF0aC5ycw==) | `51.25% <ø> (-10.52%)` | :arrow_down: | | [iceoryx2/src/config.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree&filepath=iceoryx2%2Fsrc%2Fconfig.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDIvc3JjL2NvbmZpZy5ycw==) | `66.07% <ø> (+0.89%)` | :arrow_up: | | [iceoryx2/src/port/details/publisher\_connections.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree&filepath=iceoryx2%2Fsrc%2Fport%2Fdetails%2Fpublisher_connections.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDIvc3JjL3BvcnQvZGV0YWlscy9wdWJsaXNoZXJfY29ubmVjdGlvbnMucnM=) | `94.59% <100.00%> (-1.46%)` | :arrow_down: | | [...ceoryx2/src/port/details/subscriber\_connections.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree&filepath=iceoryx2%2Fsrc%2Fport%2Fdetails%2Fsubscriber_connections.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDIvc3JjL3BvcnQvZGV0YWlscy9zdWJzY3JpYmVyX2Nvbm5lY3Rpb25zLnJz) | `94.73% <100.00%> (+0.21%)` | :arrow_up: | | [iceoryx2/src/port/subscriber.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree&filepath=iceoryx2%2Fsrc%2Fport%2Fsubscriber.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDIvc3JjL3BvcnQvc3Vic2NyaWJlci5ycw==) | `88.15% <100.00%> (+2.35%)` | :arrow_up: | | [iceoryx2/src/port/update\_connections.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree&filepath=iceoryx2%2Fsrc%2Fport%2Fupdate_connections.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDIvc3JjL3BvcnQvdXBkYXRlX2Nvbm5lY3Rpb25zLnJz) | `0.00% <ø> (ø)` | | | [iceoryx2/src/service/builder/mod.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree&filepath=iceoryx2%2Fsrc%2Fservice%2Fbuilder%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDIvc3JjL3NlcnZpY2UvYnVpbGRlci9tb2QucnM=) | `88.67% <100.00%> (+0.29%)` | :arrow_up: | | [...x2/src/service/dynamic\_config/publish\_subscribe.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree&filepath=iceoryx2%2Fsrc%2Fservice%2Fdynamic_config%2Fpublish_subscribe.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDIvc3JjL3NlcnZpY2UvZHluYW1pY19jb25maWcvcHVibGlzaF9zdWJzY3JpYmUucnM=) | `94.44% <ø> (ø)` | | | [iceoryx2/src/service/header/publish\_subscribe.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree&filepath=iceoryx2%2Fsrc%2Fservice%2Fheader%2Fpublish_subscribe.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDIvc3JjL3NlcnZpY2UvaGVhZGVyL3B1Ymxpc2hfc3Vic2NyaWJlLnJz) | `100.00% <100.00%> (ø)` | | | ... and [14 more](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx) | | ... and [5 files with indirect coverage changes](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/204/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx)