libspot_rs/lib.rs
1#![doc = include_str!("../README.md")]
2
3mod config;
4mod error;
5mod estimator;
6mod math;
7mod p2;
8mod peaks;
9mod spot;
10mod status;
11mod tail;
12mod ubend;
13
14// Re-export public types
15pub use config::SpotConfig;
16pub use error::{SpotError, SpotResult};
17pub use peaks::Peaks;
18pub use spot::SpotDetector;
19pub use status::SpotStatus;
20pub use tail::Tail;
21pub use ubend::Ubend;
22
23// Re-export commonly used types to match libspot crate
24pub use f64 as SpotFloat;
25
26/// Get the version of the pure Rust libspot implementation
27pub fn version() -> String {
28 env!("CARGO_PKG_VERSION").to_string()
29}