Files
ddns-monitor/Cargo.toml
T
kiskaadee 9ece94c988 feat(domain): implement core models, validation, and traits
- Add MonitorState, IpDiscoveryResult, SubscriberResult, and HistoryEntry
- Implement RFC-compliant public IPv4 validation and round-robin index calculation
- Define IpResolver, DdnsUpdater, StateRepository, and HistoryRepository traits
- Establish domain error hierarchy with thiserror
- Add unit tests verifying validation, rotation, and serialization
2026-10-27 07:52:50 -05:00

35 lines
736 B
TOML

[package]
name = "ddns-monitor"
version = "0.1.0"
edition = "2024"
description = "Provider-agnostic DDNS monitor with plugin architecture"
license = "Unlicense"
[lib]
name = "ddns_monitor"
path = "src/lib.rs"
[[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"