Browse Source

Update to aya 0.10.5

Alessandro Decina 3 years ago
parent
commit
cced3da
3 changed files with 4 additions and 4 deletions
  1. 1 1
      aya-log/aya-log-common/Cargo.toml
  2. 2 2
      aya-log/aya-log/Cargo.toml
  3. 1 1
      aya-log/aya-log/src/lib.rs

+ 1 - 1
aya-log/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"

+ 2 - 2
aya-log/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"

+ 1 - 1
aya-log/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;
 //!