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; //!