I setup a server-client program where the server will terminate when Ctrl+C is pressed.
28 lines
616 B
TOML
28 lines
616 B
TOML
[package]
|
|
name = "satellite"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Rust Challenge"
|
|
repository = "/myrddin/satellite"
|
|
authors = ["CyberMages LLC <Software@CyberMagesLLC.com>", "Jason Travis Smith <Myrddin@CyberMages.tech>"]
|
|
readme = "README.md"
|
|
license-file = "LICENSE.md"
|
|
|
|
|
|
|
|
[[bin]]
|
|
name = "satellite"
|
|
path = "src/server.rs"
|
|
|
|
[[bin]]
|
|
name = "base_station"
|
|
path = "src/client.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5.32", features = ["derive"] }
|
|
chrono = "0.4.40"
|
|
tokio = { version = "1.44.1", features = ["macros", "rt-multi-thread", "io-std", "fs", "signal", "sync"] }
|
|
console-subscriber = "0.4.1"
|