Skip to content

Commit

Permalink
docs(lib): document blit feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
tversteeg committed Mar 10, 2024
1 parent 1b07d65 commit 039f9de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -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")]
Expand Down

0 comments on commit 039f9de

Please sign in to comment.