[][src]Crate dmatcher

This is a simple domain matching algorithm to match domains against a set of user-defined domain rules.

Features:

  • Super fast (200 ns per match for a 73300+ domain rule set)
  • No dependencies

Getting Started

let mut matcher = Dmatcher::new();
matcher.insert("apple.com");
assert_eq!(matcher.contains("store.apple.com"), true);

Structs

Dmatcher

Dmatcher matcher algorithm