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/// Angle helpers.
11pub mod angle;
12/// Error types and definitions for the RustRobotics workspace.
13pub mod error;
14#[cfg(feature = "std")]
15pub mod experiments;
16pub mod lie;
17pub mod traits;
18pub mod types;
19
20pub use angle::*;
21pub use error::*;
22#[cfg(feature = "std")]
23pub use experiments::*;
24pub use lie::*;
25pub use traits::*;
26pub use types::*;