Skip to content

Commit

Permalink
Update libbpf-rs & libbpf-cargo to 0.25.0-beta.1
Browse files Browse the repository at this point in the history
Summary:
Update libbpf-rs and libbpf-cargo to 0.25.0-beta.1. One of the main
changes for this release is the adjustment to the way libbpf-cargo
exposes C enums in Rust code: earlier we were creating Rust enums, but
because these have certain inherent limitations, we have switched over
to using newtype style structs and named public constants for
representing variants.

Reviewed By: slawlor

Differential Revision: D67880323

fbshipit-source-id: e626de5f2a3cf79a67d2898cf932198901bb104e
  • Loading branch information
danielocfb-test authored and facebook-github-bot committed Jan 7, 2025
1 parent 25d5295 commit 91e20cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions below/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ config = { package = "below-config", version = "0.8.1", path = "config" }
cursive = { version = "0.20.0", features = ["crossterm-backend"], default-features = false }
dump = { package = "below-dump", version = "0.8.1", path = "dump" }
indicatif = { version = "0.17.6", features = ["futures", "improved_unicode", "rayon", "tokio"] }
libbpf-rs = { version = "0.24.6", default-features = false }
libbpf-rs = { version = "=0.25.0-beta.1", default-features = false }
libc = "0.2.139"
model = { package = "below-model", version = "0.8.1", path = "model" }
once_cell = "1.12"
Expand All @@ -52,7 +52,7 @@ maplit = "1.0"
portpicker = "0.1.1"

[build-dependencies]
libbpf-cargo = { version = "0.24.6", default-features = false }
libbpf-cargo = { version = "=0.25.0-beta.1", default-features = false }

[features]
default = ["libbpf-cargo/default", "libbpf-rs/default"]
Expand Down

0 comments on commit 91e20cd

Please sign in to comment.