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