From 3df5e6e9d376e578f7e2d1631967e3bb5ab12dab Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 4 Mar 2023 10:24:16 +0000 Subject: [PATCH] Use "dep:" syntax to avoid creating dependency features It is supported since Rust 1.60 --- deltachat-ffi/Cargo.toml | 2 +- deltachat-jsonrpc/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deltachat-ffi/Cargo.toml b/deltachat-ffi/Cargo.toml index 6043a6752..83b0cb079 100644 --- a/deltachat-ffi/Cargo.toml +++ b/deltachat-ffi/Cargo.toml @@ -29,5 +29,5 @@ once_cell = "1.17.0" [features] default = ["vendored"] vendored = ["deltachat/vendored"] -jsonrpc = ["deltachat-jsonrpc"] +jsonrpc = ["dep:deltachat-jsonrpc"] diff --git a/deltachat-jsonrpc/Cargo.toml b/deltachat-jsonrpc/Cargo.toml index d445da858..6d19d8dfa 100644 --- a/deltachat-jsonrpc/Cargo.toml +++ b/deltachat-jsonrpc/Cargo.toml @@ -38,5 +38,5 @@ tokio = { version = "1.25.0", features = ["full", "rt-multi-thread"] } [features] default = ["vendored"] -webserver = ["env_logger", "axum", "tokio/full", "yerpc/support-axum"] +webserver = ["dep:env_logger", "dep:axum", "tokio/full", "yerpc/support-axum"] vendored = ["deltachat/vendored"]