#Installing rust-stainless

4 messages · Page 1 of 1 (latest)

finite fable
#

Hey i tried installing rust stainless and followed their readme. I just get an error I dont quite get and i really need to get this code working for my thesis so any help is appreciated

#
❯ cargo install --path stainless_frontend/
  Installing stainless_frontend v0.0.1 (/Users/scholzf/Desktop/rust/rust-stainless/stainless_frontend)
    Updating crates.io index
error: failed to compile `stainless_frontend v0.0.1 (/Users/scholzf/Desktop/rust/rust-stainless/stainless_frontend)`, intermediate artifacts can be found at `/Users/scholzf/Desktop/rust/rust-stainless/target`

Caused by:
  failed to download `bitflags v2.4.2`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `/Users/scholzf/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-2.4.2/Cargo.toml`

Caused by:
  feature `edition2021` is required

  consider adding `cargo-features = ["edition2021"]` to the manifest
  ~/Desktop/rust/rust-stainless   master !1
#

it fails when i try to install the frontent