trojan-rules 0.5.2

Rule-based routing engine for trojan-rs (Surge/Clash compatible)
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Rule matchers for different rule types.

pub mod domain;
#[cfg(feature = "geoip")]
pub mod geoip;
pub mod ip;

pub use domain::{DomainMatcher, KeywordMatcher};
#[cfg(feature = "geoip")]
pub use geoip::GeoipMatcher;
pub use ip::CidrMatcher;