trellis_runner/
lib.rs

1#![allow(dead_code)]
2
3mod calculation;
4mod controller;
5
6pub mod prelude;
7mod problem;
8mod result;
9mod runner;
10mod watchers;
11
12mod state;
13
14pub use calculation::Calculation;
15pub(crate) use controller::Control;
16
17pub use problem::Problem;
18pub use result::{CalculationResult, ErrorCause, Output, TrellisError};
19pub use runner::GenerateBuilder;
20pub use state::{Cause, ErrorEstimate, State, Status, UpdateData, UserState};
21// pub use watchers::Tracer;
22pub use watchers::{Frequency, Target};
23
24pub use web_time::Duration;
25
26pub trait TrellisFloat: std::fmt::Display + serde::Serialize {}
27
28impl TrellisFloat for f32 {}
29impl TrellisFloat for f64 {}