You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No, I think it's because we confused our crate options. We have a rand_os feature and a std feature, and std implicitly requires rand_os. Both are enabled by default so to hit this case you must have disabled default features but then enabled std.
I'll make std depend on rand_os, but you can work around this by depending directly on that (or using default features). I can't promise rand will always have a rand_os feature however.
Reproduce with: cargo test --no-default-features --tests --features std
Activity
[-]updating to rand 0.6.2 breaks[/-][+]Updating to rand 0.6.2 breaks build[/+]dhardy commentedon Jan 4, 2019
Hmm,
rand_oswas published first (crate), so I wonder why this happens? Can't reproduce in my little test program.dignifiedquire commentedon Jan 4, 2019
it happens on a fresh clone of https://github.com/dignifiedquire/rpgp for me, maybe because the root pulls in 0.5 and a dependency uses 0.6?
dhardy commentedon Jan 4, 2019
No, I think it's because we confused our crate options. We have a
rand_osfeature and astdfeature, andstdimplicitly requiresrand_os. Both are enabled by default so to hit this case you must have disabled default features but then enabledstd.I'll make
stddepend onrand_os, but you can work around this by depending directly on that (or using default features). I can't promiserandwill always have arand_osfeature however.Reproduce with:
cargo test --no-default-features --tests --features stddignifiedquire commentedon Jan 4, 2019
thank you!
dignifiedquire commentedon Jan 4, 2019
Can confirm, the 0.6.3 release fixes all my issues