turbofish-org / orga

Deterministic state machine engine written in Rust
Apache License 2.0
148 stars 20 forks source link

Add `encoding::LengthString` #265

Closed mappum closed 1 month ago

mappum commented 1 month ago

The String equivalent to LengthVec. Should be encoding/decoding compatible with LengthVec<P, u8> (e.g. not a breaking change to swap out, although not sure about for special cases with non-utf8 values).

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 59 lines in your changes missing coverage. Please review.

Project coverage is 56.92%. Comparing base (92d7ed1) to head (e9d51cb). Report is 4 commits behind head on develop.

Files with missing lines Patch % Lines
src/encoding.rs 0.00% 59 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/turbofish-org/orga/pull/265/graphs/tree.svg?width=650&height=150&src=pr&token=ZYA7B56825&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org)](https://app.codecov.io/gh/turbofish-org/orga/pull/265?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org) ```diff @@ Coverage Diff @@ ## develop #265 +/- ## =========================================== - Coverage 57.14% 56.92% -0.22% =========================================== Files 83 83 Lines 15880 15939 +59 =========================================== Hits 9074 9074 - Misses 6806 6865 +59 ``` | [Files with missing lines](https://app.codecov.io/gh/turbofish-org/orga/pull/265?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org) | Coverage Δ | | |---|---|---| | [src/encoding.rs](https://app.codecov.io/gh/turbofish-org/orga/pull/265?src=pr&el=tree&filepath=src%2Fencoding.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org#diff-c3JjL2VuY29kaW5nLnJz) | `64.23% <0.00%> (-17.63%)` | :arrow_down: | [![Impacted file tree graph](https://app.codecov.io/gh/turbofish-org/orga/pull/265/graphs/tree.svg?width=650&height=150&src=pr&token=ZYA7B56825&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org)](https://app.codecov.io/gh/turbofish-org/orga/pull/265?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org)