1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#![allow(dead_code)]
#![forbid(unsafe_code)]

#[macro_use]
extern crate lazy_static;

#[macro_use]
extern crate bitflags;

#[macro_use]
extern crate matches; // #[cfg(test)]

extern crate rmp_serde as rmps;   // binary serialization/deserialization
extern crate flate2;
extern crate regex;
extern crate idna;      // utf domain handling
extern crate base64;

#[cfg(test)]
extern crate csv;       // csv handling library used for processing test data

// Own modules, currently everything is exposed, will need to limit
pub mod utils;
pub mod request;
pub mod lists;
pub mod filters;
pub mod blocker;
pub mod optimizer;
pub mod url_parser;
pub mod engine;
pub mod filter_lists;
pub mod resources;