- 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
39 lines
1.7 KiB
Plaintext
39 lines
1.7 KiB
Plaintext
# ── Rust / Cargo ───────────────────────────────────────────────────────────────
|
|
/target/
|
|
Cargo.lock # library crates omit it; for binaries keep it — uncomment if you want
|
|
|
|
# ── Nix ────────────────────────────────────────────────────────────────────────
|
|
result
|
|
result-*
|
|
.direnv/
|
|
|
|
# ── Secrets & credentials ───────────────────────────────────────────────────────
|
|
# Never commit plaintext secrets, tokens, or API keys.
|
|
*.secret
|
|
*.key
|
|
*.pem
|
|
*.p12
|
|
*.pfx
|
|
secrets/
|
|
.env
|
|
.env.*
|
|
config.toml # local dev config may contain credential paths — keep out
|
|
|
|
# ── Runtime state ──────────────────────────────────────────────────────────────
|
|
# Generated by the binary at runtime; not source artifacts.
|
|
state.json
|
|
*.jsonl
|
|
ip_history.jsonl
|
|
|
|
# ── Editor / OS ────────────────────────────────────────────────────────────────
|
|
.DS_Store
|
|
Thumbs.db
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# ── Misc ───────────────────────────────────────────────────────────────────────
|
|
*.log
|