diff options
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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 |
