16 lines
287 B
Rust
16 lines
287 B
Rust
mod markdown_web;
|
|
|
|
pub use markdown_web::MarkdownWeb;
|
|
|
|
use serde::Deserialize;
|
|
|
|
#[async_trait::async_trait]
|
|
pub trait Collector {
|
|
async fn collect(&mut self) -> anyhow::Result<String>;
|
|
}
|
|
|
|
#[derive(Deserialize)]
|
|
pub struct CollectorConfig {
|
|
pub markdown_web_links: Vec<String>,
|
|
}
|