Update dependencies and refactor application structure

- Updated various dependencies in `Cargo.toml` to their latest versions, including `tonic`, `tokio`, and `url`.
- Refactored `ServerConfig` to include a new `grpc_target` field, replacing the previous bind and port fields.
- Removed the `routes.rs` file and integrated its functionality into the main application logic.
- Enhanced the `PrinterInfo` struct to include additional fields for printer details.
- Simplified the main application flow by directly using the `ControlService` for handling requests.
- Cleaned up unused code and improved overall organization of the project structure.
This commit is contained in:
2025-12-14 18:25:26 +08:00
parent 2f1bdac921
commit 5789a4346a
12 changed files with 1510 additions and 742 deletions

1007
Cargo.lock generated

File diff suppressed because it is too large Load Diff