Skip to content

Commit 95996a3

Browse files
committed
feat: change to aya from crates.io for higher stability
1 parent b338fdb commit 95996a3

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/build-sock-filter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: rust-sock-filter
22
on: [push]
33
env:
4-
RUSTUP_TOOLCHAIN: "1.85.0"
4+
RUSTUP_TOOLCHAIN: "1.86.0"
55
RUSTUP_HOME: "./rust/rustup"
66
CARGO_HOME: "./rust/cargo"
77

sock-filter/sock-filter-app/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ edition = "2024"
77

88
[dependencies]
99
anyhow = "1.0.68"
10-
aya = { git = "https://github.com/aya-rs/aya", features = ["async_tokio"] }
11-
aya-log = { git = "https://github.com/aya-rs/aya" }
10+
aya = { version = "0.13.1", default-features = false }
11+
aya-log = { version = "0.2.1", default-features = false }
1212
bytes = {version = "1"}
1313
clap = { version = "4.1.1", features = ["derive"] }
1414
libc = {version="0.2", features = [ "extra_traits" ] }

sock-filter/sock-filter-common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ user = [ "aya" ]
1212

1313

1414
[dependencies]
15-
aya = { git = "https://github.com/aya-rs/aya", optional = true }
15+
aya = { version = "0.13.1", default-features = false , optional = true }
1616

1717
[lib]
1818
path = "src/lib.rs"

sock-filter/sock-filter-ebpf/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ edition = "2024"
77

88

99
[dependencies]
10-
aya-ebpf = { git = "https://github.com/aya-rs/aya", branch = "main" }
11-
aya-log-ebpf = { git = "https://github.com/aya-rs/aya", branch = "main" }
10+
aya-ebpf = { version = "0.1.1", default-features = false }
11+
aya-log-ebpf = { version = "0.1.1", default-features = false }
1212
sock-filter-common = { path = "../sock-filter-common" }
13-
memoffset = "0.8"
13+
memoffset = "0.9"
1414

1515
[[bin]]
1616
name = "sock-filter"

0 commit comments

Comments
 (0)