by John Lauer
Two-board Molecule interferometer with onboard RP2040, USB-C data, 15 V USB-C PD power and a JST stage interface.
main
John Lauer
Software 1.3.1: test-stage firmware (J4 TMC2209, HOME, limits, self-test), Stage tab and Calibrate in smi-dash (simulat…
c0c5c9b
[package]
name = "smi-dash"
version = "1.3.1"
edition = "2021"
license = "MIT"
description = "Dashboard, simulator and CLI for a self-mixing laser interferometer read by a Raspberry Pi Pico"
[[bin]]
name = "smi-dash"
path = "src/main.rs"
[features]
default = ["h5"]
h5 = ["dep:hdf5"]
[dependencies]
axum = "0.7"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "time", "sync", "signal"] }
tokio-stream = { version = "0.1", features = ["sync"] }
futures = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
clap = { version = "4", features = ["derive", "env"] }
serialport = "4"
rustfft = "6"
ureq = { version = "2", default-features = false, features = ["json"] }
rand = { version = "0.8", features = ["small_rng"] }
rand_distr = "0.4"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
hdf5 = { package = "hdf5-metno", version = "0.9", optional = true }
[build-dependencies]
cc = "1"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 4