1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#![no_std]
#![deny(
warnings,
missing_docs,
trivial_casts,
trivial_numeric_casts,
unused_import_braces,
unused_qualifications
)]
#![forbid(unsafe_code)]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/NeoBirth/accelerometer.rs/master/img/cartesian-ferris.png",
html_root_url = "https://docs.rs/accelerometer/0.4.0"
)]
#[macro_use]
extern crate generic_array;
mod accelerometer;
pub mod error;
mod f32ext;
#[cfg(feature = "orientation")]
pub mod orientation;
pub mod vector;
#[cfg(feature = "orientation")]
pub use crate::orientation::*;
pub use crate::{accelerometer::*, error::*, vector::*};