Commit graph

12 commits

Author SHA1 Message Date
cf1edd2158
Fixed some issues so now the code is basicly done 2026-02-03 17:52:17 +01:00
433fec2fac
cargo-clippy 2026-01-18 21:57:01 +01:00
afc12da8f1
Made Port a Combo Box 2026-01-18 21:50:34 +01:00
d239fd57dd
Updated to new barcode libary 2026-01-17 19:33:40 +01:00
df9d18edaa
Deps bump up, finished OFF ui intigration 2026-01-17 18:09:52 +01:00
7e84315728
Fixed off data parsing (to be continued) 2026-01-06 19:02:03 +01:00
7d96d889ec
Switch barcode flow to blocking IO and bump deps
Convert barcode types to i64 and add a manual input field. Remove the
tokio Runtime and use reqwest::blocking for Google Books. Adjust serial
handling (Sender<i64>, added logging, shorter recv timeout, clear port
on disconnect, and faster UI repaint to prevent "app not responding").
Bump reqwest to 0.13.1, serde_json to 1.0.148 and update Cargo.lock with
required TLS/quinn deps.
2025-12-31 16:36:23 +01:00
e24ba11ced
Integrate serial barcode scanner
Move read_serial out of impl, Add ScannerSetting enum, ComboBox UI, and
serial port selection/receiver handling in BarcodeScanner. Bump
serde_json; add strum and strum_macros to Cargo.toml.
2025-12-26 16:26:41 +01:00
1568111da1
Add logging, OpenFoodFacts support, update deps 2025-12-23 22:16:50 +01:00
880a46dd99
Refactor app into module and add bookdata
Move src/app.rs into src/app/app.rs and add src/app/mod.rs. Add
src/app/bookdata.rs providing BookData and shared Data types and
propagate those types to book_data and food_data modules. Move
serial_read into src/app/serial_read.rs and remove the top-level
serial_read.rs, updating imports and BarcodeScanner fields/visibility.
Update main to construct app::app::BarcodeScanner. Bump reqwest in
Cargo.lock.
2025-12-22 20:34:38 +01:00
326241be9f
Added functions for getting api data and continued with app logic 2025-12-22 10:29:04 +01:00
eb1c09a243
Added Base Code 2025-12-20 22:22:45 +01:00