use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Cloudflare; impl Platform for Cloudflare { fn id(&self) -> &'static str { "cloudflare" } fn name(&self) -> &'static str { "Cloudflare" } fn category(&self) -> Category { Category::Dev } fn domains(&self) -> &'static [&'static str] { &["cloudflare.com", "workers.dev", "pages.dev"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Cloudflare = Cloudflare;