From 4f73eeea6e2645b679499212ded5c251d7aff32a Mon Sep 17 00:00:00 2001 From: Jonathan Schwender Date: Mon, 11 Nov 2024 13:58:54 +0100 Subject: [PATCH] Fix documentation for Native Image Kit Signed-off-by: Jonathan Schwender --- components/multimedia/image_framework/src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/multimedia/image_framework/src/lib.rs b/components/multimedia/image_framework/src/lib.rs index 7007975..f1b8c3c 100644 --- a/components/multimedia/image_framework/src/lib.rs +++ b/components/multimedia/image_framework/src/lib.rs @@ -11,6 +11,13 @@ //! //! [Introduction to Image Kit]: https://docs.openharmony.cn/pages/v5.0/en/application-dev/media/image/image-overview.md //! [Image NativeModule]: https://docs.openharmony.cn/pages/v5.0/en/application-dev/media/image/image-structure-c.md +//! +//! ## Feature flags +#![cfg_attr( + feature = "document-features", + cfg_attr(doc, doc = ::document_features::document_features!()) +)] +#![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(feature = "api-12")] #[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]