- 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.
30 lines
730 B
TOML
30 lines
730 B
TOML
[package]
|
|
name = "print-backend"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
async-trait = "0.1"
|
|
config = { version = "0.14", default-features = false, features = ["yaml"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde_yaml = "0.9"
|
|
thiserror = "1"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "fs", "signal", "net"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
|
|
cups_rs = "0.3"
|
|
tempfile = "3"
|
|
tonic = { version = "0.11", features = ["transport"] }
|
|
prost = "0.12"
|
|
prost-types = "0.12"
|
|
tokio-stream = "0.1"
|
|
hostname = "0.3"
|
|
sha2 = "0.10"
|
|
url = "2"
|
|
|
|
[build-dependencies]
|
|
tonic-build = "0.11"
|
|
protoc-bin-vendored = "3"
|