From acc27750149b15aedce23a25cee3f3c85b69a946 Mon Sep 17 00:00:00 2001 From: Joseph Ligier Date: Mon, 27 Oct 2025 09:52:52 +0100 Subject: [PATCH] Add ability to have a pin version --- Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 68dd41f..9d5a4bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,11 +12,20 @@ license = "MIT OR Apache-2.0" edition = "2024" [workspace.dependencies] +{% if rev_version != "" %} +aya = { git = "https://github.com/aya-rs/aya", rev = "{{ rev_version }}", default-features = false } +aya-build = { git = "https://github.com/aya-rs/aya", rev = "{{ rev_version }}", default-features = false } +aya-ebpf = { git = "https://github.com/aya-rs/aya", rev = "{{ rev_version }}", default-features = false } +aya-log = { git = "https://github.com/aya-rs/aya", rev = "{{ rev_version }}", default-features = false } +aya-log-ebpf = { git = "https://github.com/aya-rs/aya", rev = "{{ rev_version }}", default-features = false } +{% else %} aya = { git = "https://github.com/aya-rs/aya", default-features = false } aya-build = { git = "https://github.com/aya-rs/aya", default-features = false } aya-ebpf = { git = "https://github.com/aya-rs/aya", default-features = false } aya-log = { git = "https://github.com/aya-rs/aya", default-features = false } aya-log-ebpf = { git = "https://github.com/aya-rs/aya", default-features = false } +{% endif %} + anyhow = { version = "1", default-features = false } # `std` feature is currently required to build `clap`.