feat(quick-3): add ureq dep, allowed_remote_domains config, and fetch_remote_markdown

- Add ureq = "2.12" to Cargo.toml for synchronous HTTP fetching
- Add allowed_remote_domains: Vec<String> field to Config struct with serde default
- Add RemoteDocument enum with Loaded/DomainNotAllowed/FetchError/NotMarkdown variants
- Add fetch_remote_markdown() with domain whitelist, 10s timeout, content-type validation, 5MB body limit
This commit is contained in:
2026-03-01 13:12:27 +01:00
parent eb1c7866ce
commit 5759ec83e6
3 changed files with 155 additions and 1 deletions
+1
View File
@@ -15,3 +15,4 @@ syntect-tui = "3.0"
notify = "6.1"
ansi-to-tui = "8.0"
walkdir = "2.5"
ureq = "2.12"