2f5d35e
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Gitlab;
impl Platform for Gitlab {
fn id(&self) -> &'static str {
"gitlab"
}
fn name(&self) -> &'static str {
"GitLab"
}
fn category(&self) -> Category {
Category::Dev
}
fn domains(&self) -> &'static [&'static str] {
&["gitlab.com", "gitlab.io", "gitlab.cn"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Gitlab = Gitlab;