Skip to content

Commit

Permalink
Fix compilation with 1.70.0 cargo
Browse files Browse the repository at this point in the history
Cargo bug: rust-lang/cargo#10788

Caused meli to not be able to be installed with 1.70.0 cargo.

This commit expresses the static dependencies differently to allow both
1.70.0 and later versions understand the optional dependency feature
activation.

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
  • Loading branch information
epilys committed Dec 9, 2023
1 parent e37997d commit 24971d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ gpgme = ["melib/gpgme"]
tls-static = ["melib/tls-static"]
http-static = ["melib/http-static"]
sqlite3-static = ["melib/sqlite3-static"]
dbus-static = ["dep:notify-rust", "notify-rust/d_vendored"]
libz-static = ["dep:libz-sys", "libz-sys/static"]
dbus-static = ["dep:notify-rust", "notify-rust?/d_vendored"]
libz-static = ["dep:libz-sys", "libz-sys?/static"]
static = ["tls-static", "http-static", "sqlite3-static", "dbus-static", "libz-static"]

# Print tracing logs as meli runs in stderr
Expand Down

0 comments on commit 24971d1

Please sign in to comment.