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