Add ability to have a pin version

reviewable/pr162/r1
Joseph Ligier 2 months ago
parent a515461033
commit acc2775014

@ -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`.

Loading…
Cancel
Save