Skip to main content

ndstruct/
lib.rs

1//! # ndstruct
2//!
3//! This crate provides structures to store and retrieve N-dimensional data.
4
5#![cfg_attr(not(feature = "std"), no_std)]
6
7#[cfg(feature = "alloc")]
8extern crate alloc;
9
10pub mod coo;
11pub mod csl;
12pub mod dense;
13pub mod doc_tests;
14mod error;
15mod utils;
16
17/// Shorcut of [`core::result::Result<T, error::Error>`].
18pub type Result<T> = core::result::Result<T, Error>;
19
20pub use error::*;
21#[cfg(feature = "rayon")]
22pub use utils::{ParallelIteratorWrapper, ParallelProducerWrapper};