b453d5d
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Huggingface;
impl Platform for Huggingface {
fn id(&self) -> &'static str {
"huggingface"
}
fn name(&self) -> &'static str {
"Hugging Face"
}
fn category(&self) -> Category {
Category::Dev
}
fn domains(&self) -> &'static [&'static str] {
&["huggingface.co"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Huggingface = Huggingface;