Update to aya 0.10.5

pull/350/head
Alessandro Decina 3 years ago committed by Dave Tucker
parent 9ab9c80183
commit cced3da5c8

@ -8,7 +8,7 @@ default = []
userspace = [ "aya" ] userspace = [ "aya" ]
[dependencies] [dependencies]
aya = { git = "https://github.com/aya-rs/aya", branch="main", optional=true } aya = { version = "0.10.5", optional=true }
[lib] [lib]
path = "src/lib.rs" path = "src/lib.rs"

@ -5,8 +5,8 @@ edition = "2018"
publish = false publish = false
[dependencies] [dependencies]
aya = { git = "https://github.com/aya-rs/aya", branch="main", features=["async_tokio"] } aya = { version = "0.10.5", features=["async_tokio"] }
aya-log-common = { path = "../aya-log-common", features=["userspace"] } aya-log-common = { version = "0.1", path = "../aya-log-common", features=["userspace"] }
thiserror = "1" thiserror = "1"
log = "0.4" log = "0.4"
bytes = "1.1" bytes = "1.1"

@ -12,7 +12,7 @@
//! This example uses the [simplelog] crate to log messages to the terminal. //! This example uses the [simplelog] crate to log messages to the terminal.
//! //!
//! ```no_run //! ```no_run
//! # let mut bpf = aya::Bpf::load(&[], None)?; //! # let mut bpf = aya::Bpf::load(&[]).unwrap();
//! use simplelog::{ColorChoice, ConfigBuilder, LevelFilter, TermLogger, TerminalMode}; //! use simplelog::{ColorChoice, ConfigBuilder, LevelFilter, TermLogger, TerminalMode};
//! use aya_log::BpfLogger; //! use aya_log::BpfLogger;
//! //!

Loading…
Cancel
Save