From 3b2b186e0b48fc1dde2146658671dd5aadad24fe Mon Sep 17 00:00:00 2001 From: Dave Tucker Date: Tue, 7 Jun 2022 19:07:29 +0100 Subject: [PATCH] Update dependency Use `aya = ">=0.11"` and therefore the Aya version picked by Cargo will be bounded by the latest version supported in `aya-log = "0.1"` - once it's been released again. Signed-off-by: Dave Tucker --- Cargo.toml | 3 --- {{project-name}}-common/Cargo.toml | 4 ++-- {{project-name}}/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c1d1ff8..c386364 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,2 @@ [workspace] members = ["{{project-name}}", "{{project-name}}-common", "xtask"] - -[patch.crates-io] -aya = { git = "https://github.com/aya-rs/aya", branch = "main" } diff --git a/{{project-name}}-common/Cargo.toml b/{{project-name}}-common/Cargo.toml index e695585..0895145 100644 --- a/{{project-name}}-common/Cargo.toml +++ b/{{project-name}}-common/Cargo.toml @@ -8,7 +8,7 @@ default = [] user = [ "aya" ] [dependencies] -aya = { git = "https://github.com/aya-rs/aya", branch = "main", optional=true } +aya = { version = ">=0.11", optional=true } [lib] -path = "src/lib.rs" \ No newline at end of file +path = "src/lib.rs" diff --git a/{{project-name}}/Cargo.toml b/{{project-name}}/Cargo.toml index 778200a..bbb4b57 100644 --- a/{{project-name}}/Cargo.toml +++ b/{{project-name}}/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -aya = { git = "https://github.com/aya-rs/aya", branch = "main" } +aya = { version = ">=0.11", features=["async_tokio"] } aya-log = "0.1" {{project-name}}-common = { path = "../{{project-name}}-common", features=["user"] } anyhow = "1.0.42"