13 lines
225 B
Rust
13 lines
225 B
Rust
mod json;
|
|
mod curl;
|
|
mod serial;
|
|
|
|
|
|
fn main() {
|
|
let data_file = std::path::Path::new("data.json");
|
|
let data = json::get_json(data_file);
|
|
let (req, dt) = curl::startup(&data);
|
|
serial::read_messages(req, dt);
|
|
}
|
|
|