cubecl_common/lib.rs
1#![cfg_attr(not(feature = "std"), no_std)]
2#![warn(missing_docs)]
3
4//! # CubeCL Common Library
5//!
6//! This library contains common types used by other crates that must be shared.
7
8#[macro_use]
9extern crate derive_new;
10
11/// Rand module contains types for random number generation for non-std environments and for
12/// std environments.
13pub mod rand;
14
15/// Stub module contains types for stubs for non-std environments and for std environments.
16pub mod stub;
17
18/// Module for benchmarking any executable part
19pub mod benchmark;
20
21/// Useful when you need to read async data without having to decorate each function with async
22/// notation.
23pub mod reader;
24
25/// Future utils with a compatible API for native, non-std and wasm environments.
26pub mod future;
27
28extern crate alloc;