radicle-dev / radicle-link

The second iteration of the Radicle code collaboration protocol.
Other
421 stars 39 forks source link

test: pin futures_ringbuf #707

Closed FintanH closed 3 years ago

FintanH commented 3 years ago

The 0.3.1 version of futures_ringbuf has an issue building on CI (or locally if one runs cargo update):

error[E0658]: arbitrary expressions in key-value attributes are unstable
 --> /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/futures_ringbuf-0.3.1/src/lib.rs:2:48
  |
2 | #![cfg_attr( nightly, cfg_attr( nightly, doc = include_str!("../README.md") ))]
  |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information
  = help: add `#![feature(extended_key_value_attributes)]` to the crate attributes to enable

Adding the feature flag to test/src/lib.rs does not help, so for now we will pin the version to be <= 0.3.0.

Signed-off-by: Fintan Halpenny fintan.halpenny@gmail.com