-
|
The Given that, why control unstable behavior this way, rather than with a feature flag? I can think of a few potential benefits:
Are there any other reasons? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
The I think it is fine to start the discussion on improving it. For example, introducing several |
Beta Was this translation helpful? Give feedback.
-
|
It's to ensure that downstream crates do not enable it without the end-users knowledge. With a cargo feature, random third party librarys can just enable it without you even having to know about it. Whereas with |
Beta Was this translation helpful? Give feedback.
It's to ensure that downstream crates do not enable it without the end-users knowledge. With a cargo feature, random third party librarys can just enable it without you even having to know about it. Whereas with
--cfg tokio_unstable, the end-user of the library has to explicitly decide to enable it.