use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Dockerhub; impl Platform for Dockerhub { fn id(&self) -> &'static str { "dockerhub" } fn name(&self) -> &'static str { "Docker Hub" } fn category(&self) -> Category { Category::Dev } fn domains(&self) -> &'static [&'static str] { &["hub.docker.com"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Dockerhub = Dockerhub;