From 154d886a76efc91d3f1a5b7306163a59900cae4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alessandro=C2=A0Decina?= Date: Fri, 15 Oct 2021 09:37:34 +0000 Subject: [PATCH] Update to aya 0.10.5 --- aya-log-common/Cargo.toml | 2 +- aya-log/Cargo.toml | 4 ++-- aya-log/src/lib.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aya-log-common/Cargo.toml b/aya-log-common/Cargo.toml index ff6a3944..62e6d6cd 100644 --- a/aya-log-common/Cargo.toml +++ b/aya-log-common/Cargo.toml @@ -8,7 +8,7 @@ default = [] userspace = [ "aya" ] [dependencies] -aya = { git = "https://github.com/aya-rs/aya", branch="main", optional=true } +aya = { version = "0.10.5", optional=true } [lib] path = "src/lib.rs" \ No newline at end of file diff --git a/aya-log/Cargo.toml b/aya-log/Cargo.toml index 0e1c5736..f10aef69 100644 --- a/aya-log/Cargo.toml +++ b/aya-log/Cargo.toml @@ -5,8 +5,8 @@ edition = "2018" publish = false [dependencies] -aya = { git = "https://github.com/aya-rs/aya", branch="main", features=["async_tokio"] } -aya-log-common = { path = "../aya-log-common", features=["userspace"] } +aya = { version = "0.10.5", features=["async_tokio"] } +aya-log-common = { version = "0.1", path = "../aya-log-common", features=["userspace"] } thiserror = "1" log = "0.4" bytes = "1.1" diff --git a/aya-log/src/lib.rs b/aya-log/src/lib.rs index d50fd860..6460512c 100644 --- a/aya-log/src/lib.rs +++ b/aya-log/src/lib.rs @@ -12,7 +12,7 @@ //! This example uses the [simplelog] crate to log messages to the terminal. //! //! ```no_run -//! # let mut bpf = aya::Bpf::load(&[], None)?; +//! # let mut bpf = aya::Bpf::load(&[]).unwrap(); //! use simplelog::{ColorChoice, ConfigBuilder, LevelFilter, TermLogger, TerminalMode}; //! use aya_log::BpfLogger; //!