Skip to content

Commit 7d84631

Browse files
committed
build: 更新rust edition到2024,升级依赖项
1 parent 479464f commit 7d84631

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resolver = "2"
33
members = ["frame-analyzer", "frame-analyzer-ebpf-common", "examples/simple-analyzer"]
44

55
[workspace.package]
6-
edition = "2021"
6+
edition = "2024"
77
version = "0.3.3"
88
authors = ["shadow3aaa@github.com"]
99
repository = "https://github.com/shadow3aaa/frame-analyzer-ebpf"

examples/simple-analyzer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "simple-analyzer"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition = "2024"
55

66
[dependencies]
77
anyhow = "1.0.82"

frame-analyzer-ebpf-common/Cargo.toml

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

1414
[dependencies]
15-
aya = { version = "0.12", optional = true }
15+
aya = { version = "0.13.1", optional = true }
1616

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

frame-analyzer-ebpf/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "frame-analyzer-ebpf"
3-
edition = "2021"
3+
edition = "2024"
44
version = "0.2.0"
55
authors = ["shadow3aaa@github.com"]
66
repository = "https://github.com/shadow3aaa/frame-analyzer-ebpf"
77
description = "The ebpf part of frame-analyzer"
88
license = "GPL-3.0"
99

1010
[dependencies]
11-
aya-ebpf = "0.1.0"
11+
aya-ebpf = "0.1.1"
1212
frame-analyzer-ebpf-common = { path = "../frame-analyzer-ebpf-common", version = "0" }
1313

1414
[[bin]]

frame-analyzer/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ repository.workspace = true
1010
license.workspace = true
1111

1212
[dependencies]
13-
aya = "0.12.0"
13+
aya = "0.13.1"
1414
frame-analyzer-ebpf-common = { path = "../frame-analyzer-ebpf-common", features = ["user"], version = "0" }
1515
anyhow = "1"
1616
libc = "0.2"
17-
thiserror = "1.0.58"
18-
ctor = "0.2.8"
17+
thiserror = "2.0.11"
18+
ctor = "0.4.0"
1919
ctrlc = "3.4.4"
20-
mio = { version = "0.8.11", features = ["os-ext"] }
20+
mio = { version = "1.0.3", features = ["os-ext"] }
2121

2222
[build-dependencies]
23-
anyhow = "1"
23+
anyhow = "1.0.96"

0 commit comments

Comments
 (0)