trellis_runner/
lib.rs

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
#![allow(dead_code)]

mod calculation;
mod controller;

pub mod prelude;
mod problem;
mod result;
mod runner;
mod watchers;

mod state;

pub use calculation::Calculation;
pub(crate) use controller::Control;

pub use problem::Problem;
pub use result::{Output, TrellisError};
pub use runner::GenerateBuilder;
pub use state::{Cause, ErrorEstimate, State, Status, UserState};
// pub use watchers::Tracer;
pub use watchers::{Frequency, Target};

pub use web_time::Duration;

pub trait TrellisFloat: std::fmt::Display + serde::Serialize {}

impl TrellisFloat for f32 {}
impl TrellisFloat for f64 {}