use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Devto; impl Platform for Devto { fn id(&self) -> &'static str { "devto" } fn name(&self) -> &'static str { "DEV Community" } fn category(&self) -> Category { Category::Dev } fn domains(&self) -> &'static [&'static str] { &["dev.to"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Devto = Devto;