diff --git a/aya/src/lib.rs b/aya/src/lib.rs index 87de3a4e..9d31efea 100644 --- a/aya/src/lib.rs +++ b/aya/src/lib.rs @@ -1,3 +1,5 @@ +//! [![](https://aya-rs.dev/assets/images/aya_logo_docs.svg)](https://aya-rs.dev) +//! //! A library to work with eBPF programs. //! //! eBPF is a technology that allows running user-supplied programs inside the @@ -29,6 +31,11 @@ //! //! [tokio]: https://docs.rs/tokio //! [async-std]: https://docs.rs/async-std + +#![doc( + html_logo_url = "https://aya-rs.dev/assets/images/crabby.svg", + html_favicon_url = "https://aya-rs.dev/assets/images/crabby.svg" +)] #![deny(clippy::all, missing_docs)] #![allow(clippy::missing_safety_doc, clippy::len_without_is_empty)] diff --git a/bpf/aya-bpf/src/lib.rs b/bpf/aya-bpf/src/lib.rs index e62f10bd..dd375a4f 100644 --- a/bpf/aya-bpf/src/lib.rs +++ b/bpf/aya-bpf/src/lib.rs @@ -1,3 +1,14 @@ +//! [![](https://aya-rs.dev/assets/images/aya_logo_docs.svg)](https://aya-rs.dev) +//! +//! A library to write eBPF programs. +//! +//! Aya-bpf is an eBPF library built with a focus on operability and developer experience. +//! It is the kernel-space counterpart of [Aya](https://docs.rs/aya) + +#![doc( + html_logo_url = "https://aya-rs.dev/assets/images/crabby.svg", + html_favicon_url = "https://aya-rs.dev/assets/images/crabby.svg" +)] #![feature(never_type)] #![allow(clippy::missing_safety_doc)] #![no_std]