ducaale/xh

Update Clap to v3.2

ducaale opened this issue · 6 comments

n anticipation of the next major version, Clap v3.2 deprecated many existing APIs. Therefore, It would be beneficial for us to update early so we can provide early feedback regarding the new APIs.

See https://epage.github.io/blog/2022/06/clap-32-last-call-before-40/

Update: Clap v4 has been released, see https://epage.github.io/blog/2022/09/clap4/

Would you like to update to clap v4?

@gautamprikshit1 Unfortunately, clap v4 requires rust 1.64 which is too high for us at the moment. We might reconsider raising the MSRV once reqwest or another essential dependency raises their MSRV.

Update: The MSRV has been raised to 1.64, so we should be able to upgrade clap to v4 as soon as #269 is merged.

Please let me know when clap 3 PR is merged

Thanks @gautamprikshit1 - There were a lot of moving parts so I went ahead and updated Clap to v4.0. However, you can still help us with upgrading to v4.3 and that would be greatly appreciated.

It might take a while as I already have another issue assigned in other project for this weekend, next weekend for sure