Skip to content
Clone
main
28 lines 523 B Rust
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<EmbedRule> {
None
}
}
pub static PLATFORM: Bitbucket = Bitbucket;