chore: do not build bin-specific dependencies in lib#7
Conversation
📝 WalkthroughWalkthroughThe pull request makes the CLI components optional by converting Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 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 |
|
Example of a Rust project doing the same thing: https://github.com/pgmq/pgmq/blob/662fe05c0be3f85904e4e0b9b6de1f9bfdfd87c2/pgmq-rs/Cargo.toml#L63 |
Description
This PR removes bin-specific dependencies from the library, allowing the library to be built without compiling e.g. clap-rs
How Has This Been Tested?
cargo treedoes not list bin-specific deps, whilecargo tree -F clidoesChecklist:
Summary by CodeRabbit