Add Printer trait + PrinterHandle enum domain model with polymorphism example
This commit is contained in:
@@ -5,10 +5,18 @@ edition = "2024"
|
||||
description = "Continuum edge gateway daemon — runs on-site, bridges printers to the cloud control plane"
|
||||
license = "UNLICENSED"
|
||||
|
||||
[lib]
|
||||
name = "continuum_proxy"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "continuum-proxy"
|
||||
path = "src/main.rs"
|
||||
|
||||
[[example]]
|
||||
name = "printer_polymorphism"
|
||||
path = "examples/printer_polymorphism.rs"
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.40", features = ["full"] }
|
||||
tokio-tungstenite = { version = "0.24", features = ["native-tls"] }
|
||||
|
||||
Reference in New Issue
Block a user