Cargo build failes to parse manifest Cargo.toml #1149

Closed
opened 2026-02-05 00:08:10 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @morlandi on GitHub (Nov 9, 2021).

While trying to issue this command:

cargo build --release --features sqlite

I receive the following error message:

error: failed to parse manifest at `/home/vault/vaultwarden/Cargo.toml`

Caused by:
  feature `edition2021` is required

  consider adding `cargo-features = ["edition2021"]` to the manifest

Environment:

Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-86-generic x86_64)

$ cargo --version
cargo 1.53.0

Since I'm totally new to rust and Cargo, any help or suggestion would be much appreciated

Originally created by @morlandi on GitHub (Nov 9, 2021). While trying to issue this command: ``` cargo build --release --features sqlite ``` I receive the following error message: ``` error: failed to parse manifest at `/home/vault/vaultwarden/Cargo.toml` Caused by: feature `edition2021` is required consider adding `cargo-features = ["edition2021"]` to the manifest ``` Environment: ``` Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-86-generic x86_64) $ cargo --version cargo 1.53.0 ``` Since I'm totally new to rust and Cargo, any help or suggestion would be much appreciated
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1149