-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
As you noticed, I had to remove clap from the crates on the playground. After trying to update the crates again, it still failed, so I did a bit of digging.
Right now, unicode-segmentation is one of the top-100 downloaded crates, as is clap. The playgrounds logic is to take the newest version of all available crates and resolve them together.
Unfortunately for this case, clap 2.25.0 disallows that version (also, there doesn't appear to be a tag for 2.25.0?).
It's likely that a future version of Cargo will introduce the concept of public/private dependencies. If unicode-segmentation is such, this type of problem will be magically solved. Until then, our hands are tied a bit — we have to prevent one or the other. Right now, clap is the only consumer of unicode-segmentation, so I can probably blacklist unicode-segmentation, but if anyone else starts using it, clap might be the one to lose out 😿
I see the comment and understand why you have to limit the version; I just wanted to let you know the outcome of that.