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