Introduce a new module and interface for serving files via TFTP in the HAClusterTopology structure. This includes adding the necessary dependencies, creating the `TftpServer` trait, implementing it where appropriate, and integrating its usage within the topology struct. Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/10 Co-authored-by: Jean-Gabriel Gill-Couture <jg@nationtech.io> Co-committed-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
38 lines
851 B
TOML
38 lines
851 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"private_repos/*",
|
|
"demo/*",
|
|
"harmony",
|
|
"opnsense-config", "opnsense-config-xml", "harmony_macros",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
readme = "README.md"
|
|
license = "GNU AGPL v3"
|
|
|
|
[workspace.dependencies]
|
|
log = "0.4.22"
|
|
env_logger = "0.11.5"
|
|
derive-new = "0.7.0"
|
|
async-trait = "0.1.82"
|
|
tokio = { version = "1.40.0", features = ["io-std", "fs"] }
|
|
cidr = "0.2.3"
|
|
russh = "0.45.0"
|
|
russh-keys = "0.45.0"
|
|
rand = "0.8.5"
|
|
url = "2.5.4"
|
|
|
|
[workspace.dependencies.uuid]
|
|
version = "1.11.0"
|
|
features = [
|
|
"v4", # Lets you generate random UUIDs
|
|
"fast-rng", # Use a faster (but still sufficiently random) RNG
|
|
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
|
|
]
|
|
|
|
|
|
#[workspace.target.x86_64-unknown-linux-gnu]
|
|
#rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|