Skip to content
Clone
2f5d35e
28 lines 517 B Rust
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Science;
impl Platform for Science {
fn id(&self) -> &'static str {
"science"
}
fn name(&self) -> &'static str {
"Science"
}
fn category(&self) -> Category {
Category::Knowledge
}
fn domains(&self) -> &'static [&'static str] {
&["science.org", "sciencemag.org"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Science = Science;