Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 6d89df8

Browse files
committed
Fix dependency versions at Cargo.toml of examples
Since cargo v1.54, invalid syntax for version requirements is rejected cf) https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-154-2021-07-29 rust-lang/cargo#9508 Signed-off-by: Junyeong Jeong <rhdxmr@gmail.com>
1 parent 479faee commit 6d89df8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/example-probes/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ repository = "https://github.com/foniod/redbpf"
66
authors = ["Peter Parkanyi <p@symmetree.dev>", "Junyeong Jeong <rhdxmr@gmail.com>"]
77

88
[build-dependencies]
9-
cargo-bpf = { version = "", path = "../../cargo-bpf", default-features = false, features = ["bindings"] }
9+
cargo-bpf = { version = "1.3", path = "../../cargo-bpf", default-features = false, features = ["bindings"] }
1010

1111
[dependencies]
1212
cty = "0.2"
13-
redbpf-macros = { version = "", path = "../../redbpf-macros" }
14-
redbpf-probes = { version = "", path = "../../redbpf-probes" }
13+
redbpf-macros = { version = "1.3", path = "../../redbpf-macros" }
14+
redbpf-probes = { version = "1.3", path = "../../redbpf-probes" }
1515
memoffset = "0.6.1"
1616

1717
[features]

examples/example-userspace/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ edition = "2018"
66
repository = "https://github.com/foniod/redbpf"
77

88
[build-dependencies]
9-
cargo-bpf = { version = "", path = "../../cargo-bpf", default-features = false, features = ["build"] }
9+
cargo-bpf = { version = "1.3", path = "../../cargo-bpf", default-features = false, features = ["build"] }
1010

1111
[dependencies]
1212
probes = { path = "../example-probes", package = "example-probes" }
1313
libc = "0.2"
1414
tokio = { version = "^1.0.1", features = ["rt", "signal", "time", "io-util", "net", "sync"] }
15-
redbpf = { version = "", path = "../../redbpf", features = ["load"] }
15+
redbpf = { version = "1.3", path = "../../redbpf", features = ["load"] }
1616
futures = "0.3"
1717
tracing = "0.1.26"
1818
tracing-subscriber = "0.2.18"

0 commit comments

Comments
 (0)