rust_robotics_core/lib.rs
1#![forbid(unsafe_code)]
2#![cfg_attr(not(feature = "std"), no_std)]
3//! Core types, traits, and error definitions for the RustRobotics workspace.
4//!
5//! Builds without `std` (default feature `std` disabled) for embedded
6//! targets; only the `experiments` module requires the standard library.
7
8extern crate alloc;
9
10/// Error types and definitions for the RustRobotics workspace.
11pub mod error;
12#[cfg(feature = "std")]
13pub mod experiments;
14pub mod traits;
15pub mod types;
16
17pub use error::*;
18#[cfg(feature = "std")]
19pub use experiments::*;
20pub use traits::*;
21pub use types::*;