Skip to content

fix: disable key-wallet default features in rpc-json#589

Closed
xdustinface wants to merge 4 commits intov0.42-devfrom
fix/rpc-default-key-wallet
Closed

fix: disable key-wallet default features in rpc-json#589
xdustinface wants to merge 4 commits intov0.42-devfrom
fix/rpc-default-key-wallet

Conversation

@xdustinface
Copy link
Copy Markdown
Collaborator

No description provided.

`generate_using_rng` and `generate_with_seed` were only used in tests
but exposed as public API requiring `rand` at compile time. Move them
to `mod tests` as private helpers and drop `rand` from the crate's
default features. `rand` remains as optional dep for `bip38` and is
added as a dev-dependency for test use.
These were only enabled via default features, so
`--no-default-features` would break compilation because `bip39`
requires its `std` feature for `parse_in` and `to_seed`.
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.38%. Comparing base (fcdffa7) to head (b73ff2b).
⚠️ Report is 1 commits behind head on v0.42-dev.

Additional details and impacted files
@@              Coverage Diff              @@
##           v0.42-dev     #589      +/-   ##
=============================================
- Coverage      67.40%   67.38%   -0.02%     
=============================================
  Files            318      318              
  Lines          67020    67020              
=============================================
- Hits           45175    45164      -11     
- Misses         21845    21856      +11     
Flag Coverage Δ
core 75.21% <ø> (ø)
ffi 36.45% <ø> (+0.01%) ⬆️
rpc 19.92% <ø> (ø)
spv 83.77% <ø> (-0.09%) ⬇️
wallet 66.97% <ø> (ø)
see 8 files with indirect coverage changes

Base automatically changed from fix/key-wallet-feature-cleanup to v0.42-dev March 27, 2026 12:26
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 27, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a72c30dd-d61f-4482-82e0-44312c6f72ae

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/rpc-default-key-wallet

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@xdustinface xdustinface marked this pull request as ready for review March 27, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant