Cargo Features
[dependencies]
async-stm = { version = "0.5.0", default-features = false, features = ["queues", "unstable"] }
- default = queues
-
The
queues
feature is set by default wheneverasync-stm
is added without
somewhere in the dependency tree.default-features = false - queues default
-
Affects
async-stm::queues
… - unstable
-
For running benchmarks, which require nightly. Unfortunately tests fail on nightly since
rustc 1.61.0-nightly (8769f4ef2 2022-03-02)
during the linking phase. They work onrustc 1.61.0-nightly (532d3cda9 2022-02-23)
, but thelock_api
0.4.7 fails on that one. Luckily the build and tests both work on stable, so if we reserve nightly for benches, it should be fine. Meanwhile if we use nightly, we can usecargo +stable test
to run tests, andcargo --features "unstable" bench
to run benches. TODO: Move benchmarks under thebenches
directory.