mirror of https://github.com/aya-rs/aya
Remove "async" feature
This feature is equivalent to async_tokio || async_std; removing it avoids warnings emitted during `cargo hack check --feature-powerset` where async is selected without either of the other features. Use cargo hack to ensure clippy runs on the powerset of features.pull/650/head
parent
dc38b7eff0
commit
fa91fb4f59
@ -1,14 +1,14 @@
|
|||||||
//! Ring buffer types used to receive events from eBPF programs using the linux `perf` API.
|
//! Ring buffer types used to receive events from eBPF programs using the linux `perf` API.
|
||||||
//!
|
//!
|
||||||
//! See the [`PerfEventArray`](crate::maps::PerfEventArray) and [`AsyncPerfEventArray`](crate::maps::perf::AsyncPerfEventArray).
|
//! See the [`PerfEventArray`](crate::maps::PerfEventArray) and [`AsyncPerfEventArray`](crate::maps::perf::AsyncPerfEventArray).
|
||||||
#[cfg(feature = "async")]
|
#[cfg(any(feature = "async_tokio", feature = "async_std"))]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "async")))]
|
#[cfg_attr(docsrs, doc(cfg(any(feature = "async_tokio", feature = "async_std"))))]
|
||||||
mod async_perf_event_array;
|
mod async_perf_event_array;
|
||||||
mod perf_buffer;
|
mod perf_buffer;
|
||||||
mod perf_event_array;
|
mod perf_event_array;
|
||||||
|
|
||||||
#[cfg(feature = "async")]
|
#[cfg(any(feature = "async_tokio", feature = "async_std"))]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "async")))]
|
#[cfg_attr(docsrs, doc(cfg(any(feature = "async_tokio", feature = "async_std"))))]
|
||||||
pub use async_perf_event_array::*;
|
pub use async_perf_event_array::*;
|
||||||
pub use perf_buffer::*;
|
pub use perf_buffer::*;
|
||||||
pub use perf_event_array::*;
|
pub use perf_event_array::*;
|
||||||
|
Loading…
Reference in New Issue