From 61ac77790fbb55f94b4c06a28f57b42778e2054e Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Wed, 14 Feb 2024 09:17:14 +1000 Subject: [PATCH] Add Rust optic --- rust.optic | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 rust.optic diff --git a/rust.optic b/rust.optic new file mode 100644 index 0000000..4f9e55c --- /dev/null +++ b/rust.optic @@ -0,0 +1,23 @@ +DiscardNonMatching; + +/* + Sites relvant to the Rust programming language +*/ + +Rule { + Matches { + Site("|lib.rs|") + }, + Matches { + Domain("|docs.rs|") + }, + Matches { + Domain("|crates.io|") + }, + Matches { + Domain("|rust-lang.org|") + }, + Matches { + Domain("|rustup.rs|") + }, +};