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" ]
[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"

@ -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"

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

Loading…
Cancel
Save