use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Arxiv; impl Platform for Arxiv { fn id(&self) -> &'static str { "arxiv" } fn name(&self) -> &'static str { "arXiv" } fn category(&self) -> Category { Category::Knowledge } fn domains(&self) -> &'static [&'static str] { &["arxiv.org"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Arxiv = Arxiv;