Files
ddns-monitor/Cargo.toml
T
kiskaadee 9befe4af52 refactor(deps): swap reqwest for ureq
reqwest with features=["blocking"] still links tokio internally,
adding a full async runtime to a binary that runs once and exits.

Replace with ureq v3 (synchronous, no tokio dependency) with
bundled rustls for TLS. Benefits:

- ~90 fewer transitive crates
- No system OpenSSL or pkg-config required at build time
- Simpler flake.nix: remove openssl, pkg-config, and OPENSSL_*
  env vars from devShell and package outputs
- Aligns the codebase with the ROADMAP decision to keep the
  binary synchronous throughout
2026-10-20 22:50:50 -05:00

31 lines
687 B
TOML

[package]
name = "ddns-monitor"
version = "0.1.0"
edition = "2024"
description = "Provider-agnostic DDNS monitor with plugin architecture"
license = "Unlicense"
[[bin]]
name = "ddns-monitor"
path = "src/main.rs"
[dependencies]
# Serialization — state JSON and config TOML
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
# HTTP client — synchronous, no tokio runtime, TLS via bundled rustls
ureq = { version = "3", features = ["rustls"] }
# Error handling
thiserror = "2"
# Logging
log = "0.4"
env_logger = "0.11"
[dev-dependencies]
# Lightweight HTTP mock server for testing IpResolver without real network
mockito = "1"