Cargo Features

aya-ebpf has no features set by default.

[dependencies]
aya-ebpf = { version = "0.1.1", features = ["const_assert"] }
const_assert = const-assert

TODO(https://github.com/rust-lang/rust/issues/76560): Always utilize the logic gated behind this feature. This is not currently possible because the underlying const_generic_exprs language feature is still incomplete.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

const-assert const_assert?