Skip to content

Commit

Permalink
rust: Add resolver feature
Browse files Browse the repository at this point in the history
On Debian 11:

cargo build --release
    Updating crates.io index
 Downloading crates ...
  Downloaded libc v0.2.128
error: failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.128/Cargo.toml`
Caused by:
  feature `resolver` is required
  consider adding `cargo-features = ["resolver"]` to the manifest
  • Loading branch information
rwmjones committed Aug 9, 2022
1 parent 609854d commit 539ee34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cargo-features = ["resolver"]

[package]
name = "nbdkit"
version = "0.2.0"
Expand Down

0 comments on commit 539ee34

Please sign in to comment.