From 039f9de47d12929dfce332db8ded08ac0cd44f6f Mon Sep 17 00:00:00 2001 From: Thomas Versteeg Date: Sun, 10 Mar 2024 13:01:54 +0100 Subject: [PATCH] docs(lib): document `blit` feature flag --- src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index c069438..2e0a815 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,12 @@ //! Pixel Art rotation algorithms that works with many types of pixel buffers. //! //! This library allows you to rotate pixel art using the [rotsprite](https://en.wikipedia.org/wiki/Pixel-art_scaling_algorithms#RotSprite) algorithm. +//! +//! # Feature Flags +//! +//! ## `blit` +//! +//! Implement the [`crate::RotSprite`] trait for [`blit::BlitBuffer`], making it easy to get a rotated copy of a blit buffer. // Make the modules public for benchmarks but don't document it #[cfg(feature = "blit")]