RustCrypto / stream-ciphers

Collection of stream cipher algorithms
264 stars 50 forks source link

version 0.9.0 does not compile on Arduino architecture #297

Closed mutantbob closed 2 years ago

mutantbob commented 2 years ago

Rust support for arduino is lagging and at the moment a number of bugs in the toolchain prevent the use of any rust newer than nightly-2021-01-07.

When I try to build I get the following error:

error: failed to download `inout v0.1.2`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `/home/thoth/.cargo/registry/src/github.com-1ecc6299db9ec823/inout-0.1.2/Cargo.toml`

Caused by:
  failed to parse the `edition` key

Caused by:
  this version of Cargo is older than the `2021` edition, and only supports `2015` and `2018` editions.

There are a number of solutions, most of which are out of your hands:

tarcieri commented 2 years ago

We're generally moving to the 2021 edition across all of our crates, which is a fairly common thing across the Rust ecosystem.

I would suggest you use the older releases of these crates which support an older MSRV until the Arduino compiler updates.