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