@danburkert One strategy for running unstable tests/benches on nightly Rust—while still being able to run stable tests on stable Rust—is to create a feature that enables the unstable tests and then enable that feature only when compiling with nightly Rust.
I suspect that converting to Criterion is a better long-term strategy. I recently converted https://github.com/mykmelez/kv-bench/ to Criterion, and it was reasonably straightforward (and unlocked additional capabilities). Nevertheless, this might be a worthwhile short-term fix.
@danburkert One strategy for running unstable tests/benches on nightly Rust—while still being able to run stable tests on stable Rust—is to create a feature that enables the unstable tests and then enable that feature only when compiling with nightly Rust.
This is discussed in https://internals.rust-lang.org/t/setting-cfg-nightly-on-nightly-by-default/1893/22, and https://github.com/hyperium/hyper uses it. This branch implements that strategy for lmdb-rs, which makes it possible to re-enable stable tests on stable Rust.
I suspect that converting to Criterion is a better long-term strategy. I recently converted https://github.com/mykmelez/kv-bench/ to Criterion, and it was reasonably straightforward (and unlocked additional capabilities). Nevertheless, this might be a worthwhile short-term fix.