chore(internals): drop no-std supp in internals#519
chore(internals): drop no-std supp in internals#519
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
💤 Files with no reviewable changes (2)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughRemoved feature-gated alloc/std support in internals and adjusted dependent crates' features; eliminated no_std and internal prelude, made hex display methods and their tests unconditional, and changed implementations to use the standard Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip You can disable sequence diagrams in the walkthrough.Disable the |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@internals/src/hex/display.rs`:
- Around line 272-324: Add a unit test that exercises the newly added impl
DisplayHex for &Vec<u8> directly (current tests only call the &[u8] path via
check_encoding), e.g., add a test function (similar to existing tests like
single/two) that constructs a Vec<u8> and calls check_encoding on a reference to
it so the &Vec<u8> impl is used; reference the check_encoding helper and the
DisplayHex impl for &Vec<u8> when locating where to add the test in this file.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: b1841341-591e-49c0-b65d-57d7bc2ef026
📒 Files selected for processing (5)
dash/Cargo.tomlhashes/Cargo.tomlinternals/Cargo.tomlinternals/src/hex/display.rsinternals/src/lib.rs
💤 Files with no reviewable changes (2)
- internals/Cargo.toml
- internals/src/lib.rs
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v0.42-dev #519 +/- ##
==========================================
Coverage 66.89% 66.90%
==========================================
Files 313 313
Lines 64753 64754 +1
==========================================
+ Hits 43317 43324 +7
+ Misses 21436 21430 -6
*This pull request uses carry forward flags. Click here to find out more.
🚀 New features to boost your workflow:
|
4410fb6 to
d0ff4f7
Compare
Summary by CodeRabbit