5759ec83e6
- 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
19 lines
431 B
TOML
19 lines
431 B
TOML
[package]
|
|
name = "bbs-md"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
ratatui = "0.30.0"
|
|
signal-hook = "0.4.3"
|
|
toml = "1.0.3"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
pulldown-cmark = "0.13.1"
|
|
syntect = { version = "5.3", default-features = false, features = ["default-fancy"] }
|
|
syntect-tui = "3.0"
|
|
notify = "6.1"
|
|
ansi-to-tui = "8.0"
|
|
walkdir = "2.5"
|
|
ureq = "2.12"
|