I have a crate that I feel would do well to have an opt-in for some nightly features.

I added a feature to enable the nightly features, but I quickly realized that this breaks stable builds when one passes --all-features.

I'm considering adding a --cfg option to enable the nightly features instead, to keep --all-features stable-compaible.

Is there any ecosystem consensus on how to handle these types of things?

3 posts - 2 participants

Read full topic