Files
ddns-monitor/Cargo.toml
T
kiskaadee c25eefa8a2 chore(phase-0): dev environment, docs, and project rename
- Rename crate from dynu-monitor to ddns-monitor
- Add flake.nix: pinned Rust stable (rust-overlay), devShell with
  cargo-watch, cargo-nextest, cargo-audit, curl, jq; package and
  checks outputs scaffolded
- Update .gitignore: cover Rust/Nix build artefacts, secrets,
  runtime state files (state.json, *.jsonl), editor cruft; keep
  flake.lock tracked
- Rewrite README.md: reflects broadened multi-provider scope,
  architecture overview, dev-shell quick start, config example,
  NixOS integration plan, invariants
- Add ROADMAP.md: 10-phase plan from cleanup through additional
  providers; fan-out semantics and partial-success policy documented
- Fix models.rs: correct IpDiscoveryResult syntax error, upgrade
  types to Option<usize> / Ipv4Addr, add doc comments
- Update main.rs: scaffold stub that initialises logging and exits
  cleanly instead of hello-world placeholder
- Add Cargo.toml dependencies through Phase 5: serde, serde_json,
  toml, reqwest (blocking), thiserror, log, env_logger, mockito

cargo check: passes with only expected dead_code warnings
2026-10-20 22:46:25 -05:00

34 lines
843 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 — blocking (no async needed for a oneshot binary)
reqwest = { version = "0.12", features = ["blocking"], default-features = false }
# TLS backend — uses the system's OpenSSL
reqwest-middleware = { version = "0.4", optional = true } # future: retry middleware
# 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"