aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorGus Power <gus@infinitesidequests.com>2025-06-07 14:55:21 +0100
committerGus Power <gus@infinitesidequests.com>2025-06-07 14:55:21 +0100
commit172f8163139f8112b76d462198a1213a5cb49dde (patch)
tree0a10558a0b2a4ce4e07177bc520b6f6030553763 /Cargo.toml
parent3e5aa28345bb009c12b5a55f2e7174957bf4ed9a (diff)
first test of Junie - add network module for detecting available network adapters
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml15
1 files changed, 14 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index de42a63..2262aa4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,9 +6,18 @@ description = "A command line interface (CLI) tool for syncing public WAN ip add
repository = "https://github.com/guspower/multiwan-dyndns"
license = "MIT OR Apache-2.0"
+# Both a library and a binary
+[[bin]]
+name = "multiwan-dyndns"
+path = "src/main.rs"
+
+[lib]
+name = "multiwan_dyndns"
+path = "src/lib.rs"
+
[dependencies]
reqwest = "0.12.15"
-tokio = { version = "1.45.0", features = ["rt", "rt-multi-thread", "macros"] }
+tokio = { version = "1.45.1", features = ["rt", "rt-multi-thread", "macros"] }
http = { version = "1.3.1" }
serde_json = "1.0.140"
serde = { version = "1.0.219", features = ["derive"] }
@@ -19,6 +28,10 @@ env_logger = "0.11.8"
clap = { version = "4.5.38", features = ["derive", "string"] }
log = "0.4.27"
homedir = "0.3.4"
+network-interface = "2.0.1"
[dev-dependencies]
wiremock = "0.6.3"
+
+[profile.dev]
+debug = false