mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 23:16:30 +03:00
Use "dep:" syntax to avoid creating dependency features
It is supported since Rust 1.60
This commit is contained in:
@@ -29,5 +29,5 @@ once_cell = "1.17.0"
|
||||
[features]
|
||||
default = ["vendored"]
|
||||
vendored = ["deltachat/vendored"]
|
||||
jsonrpc = ["deltachat-jsonrpc"]
|
||||
jsonrpc = ["dep:deltachat-jsonrpc"]
|
||||
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user