Use "dep:" syntax to avoid creating dependency features

It is supported since Rust 1.60
This commit is contained in:
link2xt
2023-03-04 10:24:16 +00:00
parent fe60b2dd2d
commit 3df5e6e9d3
2 changed files with 2 additions and 2 deletions

View File

@@ -29,5 +29,5 @@ once_cell = "1.17.0"
[features]
default = ["vendored"]
vendored = ["deltachat/vendored"]
jsonrpc = ["deltachat-jsonrpc"]
jsonrpc = ["dep:deltachat-jsonrpc"]

View File

@@ -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"]