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:
@@ -15,3 +15,4 @@ syntect-tui = "3.0"
|
||||
notify = "6.1"
|
||||
ansi-to-tui = "8.0"
|
||||
walkdir = "2.5"
|
||||
ureq = "2.12"
|
||||
|
||||
Reference in New Issue
Block a user