Add Rust optic
This commit is contained in:
parent
b74adea1d2
commit
61ac77790f
1 changed files with 23 additions and 0 deletions
23
rust.optic
Normal file
23
rust.optic
Normal file
|
@ -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|")
|
||||||
|
},
|
||||||
|
};
|
Loading…
Reference in a new issue