Set time/quickcheck feature only in dev
#31
Reference in New Issue
Block a user
Delete Branch "quickcheck-dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I noticed when working on a crate that
quickcheckwas showing up in theCargo.lock, which I thought was odd since I wasn't using it and it seems like something that ought to be under a feature. Turns out it was coming fromtime, which does put it behind a feature, butsimple_asn1always turns it on!This PR simply duplicates the
timedependency indev-dependencies, and removes thequickcheckfeature from the non-dev entry.Since nothing is re-exported from
timethis ought to be a non-breaking change. I'm not familiar enough with how feature resolution works to say for certain that it couldn't break builds – perhaps if a user of bothsimple_asn1andtimewas depending onTime::arbitrarywithout explicitly enabling it themselves...?Oh, interesting. Thanks for the patch! I'll merge it in. Let me think about whether we should bump the patch or minor version on this. You're right: it feels like this shouldn't affect anyone, but there are some weird edge cases in Cargoland.
Is this messing with something you're doing right now, or just a funny thing you noticed? Just trying to gauge how quick you're wanting a release to Crates.
Thanks for the fast response! Yeah this is just a weird thing I noticed, nothing urgent for me.