Skip to content
Clone
a47ae83
28 lines 514 B Rust
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Postgresql;
impl Platform for Postgresql {
fn id(&self) -> &'static str {
"postgresql"
}
fn name(&self) -> &'static str {
"PostgreSQL"
}
fn category(&self) -> Category {
Category::Dev
}
fn domains(&self) -> &'static [&'static str] {
&["postgresql.org"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Postgresql = Postgresql;