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