1#![doc = include_str!("../README.md")]
2#![cfg_attr(docsrs, feature(doc_cfg))]
3#![warn(missing_docs)]
4#![warn(unreachable_pub)]
5#![deny(rustdoc::broken_intra_doc_links)]
6
7mod pixel;
8mod strategy;
9mod texture;
10
11#[cfg(feature = "debug-window")]
12#[cfg_attr(docsrs, doc(cfg(feature = "debug-window")))]
13mod debug_window;
14
15#[cfg(feature = "debug-window")]
16#[cfg_attr(docsrs, doc(cfg(feature = "debug-window")))]
17mod debug_histogram;
18
19pub use pixel::{DisplayPixel, GpuPixel, TextureFormat};
22pub use strategy::{AutoContrast, DisplayStrategy, FixedRange, Identity, LinearToDisplay};
23pub use texture::TextureSource;
24
25#[cfg(feature = "debug-window")]
26#[cfg_attr(docsrs, doc(cfg(feature = "debug-window")))]
27pub use debug_window::{DebugDisplay, DisplayContext, show};
28
29#[cfg(feature = "debug-window")]
30#[cfg_attr(docsrs, doc(cfg(feature = "debug-window")))]
31pub use debug_histogram::{
32 HistogramLayer, HistogramPlotOptions, HistogramRenderOptions, debug_histogram,
33 debug_histogram_layers, debug_histogram_with, render_histogram, render_histogram_layers,
34};