9b3815fd25
Verified with cargo check + cargo run --example printer_polymorphism.
50 lines
1.5 KiB
TOML
50 lines
1.5 KiB
TOML
[package]
|
|
name = "continuum-proxy"
|
|
version = "0.1.0"
|
|
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"] }
|
|
tokio-util = { version = "0.7", features = ["codec", "compat"] }
|
|
futures-util = "0.3"
|
|
rumqttc = "0.24"
|
|
reqwest = { version = "0.12", features = ["stream", "json"] }
|
|
suppaftp = { version = "6", features = ["async-native-tls"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
tokio-serial = "5.4"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
|
anyhow = "1"
|
|
thiserror = "1"
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
rand = "0.8"
|
|
dotenvy = "0.15"
|
|
|
|
# continuum-common's rust-core crate (error types, tracing init, G-code helpers)
|
|
# lives in the sibling `continuum-common` repo. Once that crate is published to
|
|
# a registry or exposed over git, add it here, e.g.:
|
|
# continuum-common = { git = "https://git.octoturge.com/Continuum/continuum-common.git", package = "continuum-core" }
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|