Skip to main content

mynd/
lib.rs

1#![no_std]
2#![forbid(unsafe_code)]
3#![deny(missing_docs)]
4
5//! Security-first image codecs and processing for Rust.
6//!
7//! Version 0.5.0 adds explicit sample storage, channel order, chroma
8//! subsampling, alpha association, and pixel-to-plane relationships to the
9//! validated geometry foundation. Buffer views and codecs remain unavailable
10//! until their milestones pass.
11
12#[cfg(feature = "alloc")]
13extern crate alloc;
14
15#[cfg(any(test, feature = "std"))]
16extern crate std;
17
18/// Format-neutral image foundations.
19pub use mynd_core as core;
20
21/// Checked integer arithmetic for image-data boundaries.
22pub use mynd_math as math;