From c1979b4a54961ed73f10897e4b7c17a65d27f2cb Mon Sep 17 00:00:00 2001 From: Sludge <96552222+SludgePhD@users.noreply.github.com> Date: Wed, 29 May 2024 17:38:13 +0200 Subject: [PATCH] Enable `feature(doc_cfg)` on docs.rs --- Cargo.toml | 2 +- src/lib.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7c81802..a4c9657 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fev" -version = "0.2.2" +version = "0.2.3" edition = "2021" license = "0BSD" description = "High-level VA-API bindings" diff --git a/src/lib.rs b/src/lib.rs index 059560b..b31f929 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,6 +2,8 @@ //! //! See [`Display`][display::Display] for the main entry point into the library. +#![cfg_attr(docsrs, feature(doc_cfg))] + #[macro_use] mod macros; mod dlopen;