vacp2p / nim-libp2p

libp2p implementation in Nim
https://vacp2p.github.io/nim-libp2p/docs/
MIT License
242 stars 52 forks source link

`{.async: (raises).}` for `relay/utils.nim` #1058

Closed etan-status closed 3 months ago

etan-status commented 3 months ago

Annotate relay/utils module with {.async: (raises).}. These build on top of writeLp and can be updated independently of the rest of libp2p.

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 82.77%. Comparing base (ae13a0d) to head (a7fa2dc).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/status-im/nim-libp2p/pull/1058/graphs/tree.svg?width=650&height=150&src=pr&token=UR5JRQ249W&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=status-im)](https://app.codecov.io/gh/status-im/nim-libp2p/pull/1058?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=status-im) ```diff @@ Coverage Diff @@ ## unstable #1058 +/- ## ============================================ - Coverage 82.79% 82.77% -0.03% ============================================ Files 91 91 Lines 15749 15753 +4 ============================================ - Hits 13040 13039 -1 - Misses 2709 2714 +5 ``` | [Files](https://app.codecov.io/gh/status-im/nim-libp2p/pull/1058?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=status-im) | Coverage Δ | | |---|---|---| | [libp2p/protocols/connectivity/relay/utils.nim](https://app.codecov.io/gh/status-im/nim-libp2p/pull/1058?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=status-im#diff-bGlicDJwL3Byb3RvY29scy9jb25uZWN0aXZpdHkvcmVsYXkvdXRpbHMubmlt) | `94.44% <95.65%> (-2.11%)` | :arrow_down: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/status-im/nim-libp2p/pull/1058/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=status-im)
etan-status commented 3 months ago